Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 6

The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getAllOpenSprints()

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

Returns an array of JSprint type structs for every open sprint.

Returns an array of JSprint type structs for every open sprint.

Return Type

JSprint []

Returns an array of JSprint structs.

Example

Code Block
languagejs
string format = "MM/dd/yyyy"; //format for date
for(JSprint sprint in getAllOpenSprints()) {
    runnerLog("Sprint name: " + sprint.name);
    runnerLog("Sprint start date: " + formatDate(sprint.startDate, format));
    runnerLog("Sprint end date: " + formatDate(sprint.endDate, format));
    runnerLog("Sprint completion date: " + formatDate(sprint.completeDate, format));
}

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "agile_routine" and space = currentSpace ( )
labelsarray_routines
We've encountered an issue exporting this macro. Please try exporting this page again later.