Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getClosedSprintsgetNotStartedSprints(boardId)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Gets the close sprints from the board with the provided id.

...

Retrieves information about sprints that have not yet started, helping to identify upcoming work periods.

Retrieves information about sprints that have not yet started, helping to identify upcoming work periods.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

boardId

intInteger

Yes

The board id

Return Type

JSprint []

Returns the closed sprints structures.future sprints structures.

Example

Code Block
languagejs
JSprint [] sprints = getNotStartedSprints(12345);
for(JSprint s in sprints) {
    runnerLog("Id: " + s.id);
    runnerLog("Name: " + s.name);
}

Note

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.

...