The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.
...
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
...
issueInSprint(issue key, sprint id)
...
Package
...
Alias
...
Pkg Usage
Description
Excerpt | ||
---|---|---|
| ||
Checks whether the issue with the provided issue key is in the sprint. |
Checks whether the issue with the provided issue key is in the sprint.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
Parameter name
...
Type
...
Required
...
Description
...
issue key
...
String
...
Yes
...
The issue key
...
sprint id
...
Number
...
Yes
...
The sprint id
Return Type
Boolean
'True' if issue is in the sprint, 'false' otherwise.
Example
Code Block |
---|
boolean result = issueInSprint("AGILE-3", 5); |
Note |
---|
1. If there is no issue with that issue key, an exception will be raised. 2. The user must have sufficient permissions to view the board. |
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.