closedSprints

Syntax

closedSprints(board)

Description

Gets the closed sprints from the board with the provided name or id.

Parameters

Parameter name

Type

Required

Description

board

string

Yes

The board name or id

Return type

number[]

Returns the closed sprints IDs.

Example

number [] sprintIds = closedSprints("agileBoard");
// or
number [] sprintIds = closedSprints(2);  


Notes

  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.

See also