getClosedSprints
Description
Retrieves information about sprints that have been completed and closed, offering an overview of past sprint details.
Syntax | getClosedSprints(boardId) | Package |
|
Alias |
| Pkg Usage |
|
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
boardId | Integer | Yes | The board id |
Return Type
Returns the closed sprints structures.
Example
JSprint [] sprints = getClosedSprints(12345);
for(JSprint s in sprints) {
runnerLog("Id: " + s.id);
runnerLog("Name: " + s.name);
}1. If there is no board with that name or id, an exception will be raised. 2. The user must have sufficient permissions to view the board.