...
For information on how to configure a check for a workflow transition in Jira, see the Jira documentation.
Examples
...
Is the Issue in the current sprint?
Code Block |
---|
Sprint in openSprints() AND key = {issue.key} |
In the IT department only the approver can perform the transition
Code Block |
---|
approver = currentUser() OR component != "IT department" |
Or in other words: The condition is valid if the current user is the user in the Approver field OR anything not belonging to the IT department.
All other siblings must have status
Code Block |
---|
parent = {issue.parent} AND key != {issue.key} AND status in (Resolved, Closed) |
With parent = {issue.parent}
we find all siblings of the current subtask. However, we want to exclude the current subtasks, so we add key != {issue.key}
.
Resources
...