Syntax
rankBefore(issue to rank, reference issue)
Description
Moves an issue before another issue.Parameters
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
boolean result = rankBefore("AGILE-3", "AGILE-2");
Notes
- If an issue with that issue key is not found, an exception will be raised.
- The user must have enough permissions to perform this action
See also
-
rankFirst (Power Scripts™ for Jira 4.0)
-
rankLast (Power Scripts™ for Jira 4.0)
-
rankBefore (Power Scripts™ for Jira 4.0)
-
rankAfter (Power Scripts™ for Jira 4.0)