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
...
rankBefore(issue to rank, reference issue)
...
Package
...
Alias
...
Pkg Usage
Description
Excerpt | ||
---|---|---|
| ||
Moves an issue before another issue. |
Moves an issue before another issue.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
Parameter name
...
Type
...
Required
...
Description
...
issue to rank
...
String
...
Yes
...
The issue key to move
...
reference issue
...
String
...
Yes
...
The reference issue
Return Type
Boolean
'True' if operation succeeded, 'false' otherwise
Example
Code Block |
---|
boolean result = rankBefore("AGILE-3", "AGILE-2"); |
Note |
---|
1. If an issue with that issue key is not found, 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.