Restricting the availability of workflow transitions
Workflow transitions, by default, are accessible to anyone who has access to the issue. There will be times when you would want to restrict access to certain transitions. For example, you might want to restrict access to the Move to Backlog transition for the following reasons:
The transition should only be available to users in specific groups or project roles
Since the transition is a global transition, it is available to all the workflow statuses, but it does not make sense to show the transition when the issue is already in the Backlog status
To restrict the availability of a workflow transition, we can use workflow conditions.
Getting ready
For this recipe, we need to have the JIRA Suite Utilities add-on installed. You can download it from the following link or install it directly from the Universal Plugin Manager:
https://marketplace.atlassian.com/plugins/com.googlecode.jira-suite-utilities
How to do it…
We need to create a new custom...