Skip to end of banner
Go to start of banner

getAllOpenSprints

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Current »

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

Description

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

Return Type

JSprint []

Returns an array of JSprint structs.

Example

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

There are no items with the selected labels at this time.

We've encountered an issue exporting this macro. Please try exporting this page again later.
  • No labels