Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=getAllOpenSprints+-+15480979 |
---|
width | auto |
---|
|
The use of this function requires the Power Scripts for Jira add-on be installed and licensed.
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | getAllOpenSprints() | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
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 |
---|
|
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) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = " |
---|
|
...
agile_routine" and space = currentSpace ( ) | labels | array_routines |
---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.