Sometimes, you might want to have control over who can execute a transition or when a transition can be executed. For example, a transition to authorize an issue should be restricted to users in the manager's group so normal employees will not be able to authorize their own requests. This is where conditions come in.
Conditions are criteria that must be fulfilled before the user is allowed to execute the transition. If the conditions on transitions are not met, the transition will not be available to the user when viewing the issue. The following table shows a list of conditions that are shipped with Jira; additional conditions can be added via third-party add-ons:
Condition | Description |
Code Committed Condition |
This allows the transition to execute only if the code has/has not (depending on configuration) been committed against this issue. |
Hide Transition from User |
This will hide the transition from all users, and it can only be triggered by post functions. This is useful in situations where the transition will be triggered as part of an automated process rather than manually by a user. |
No Open Reviews Condition |
This allows a transition to execute only if there are no related open crucible reviews. |
Only Assignee Condition |
This only allows the issue's current assignee to execute the transition. |
Only Reporter Condition |
This only allows the issue's reporter to execute the transition. |
Permission Condition |
This only allows users with the given permission to execute the transition. |
Sub-Task Blocking Condition |
This blocks the parent issue transition depending on all its subtasks' statuses. |
Unreviewed Code Condition |
This allows a transition to execute only if there are no unviewed change sets related to this issue. |
User Is In Group |
This only allows users in a given group to execute the transition. |
User Is In Group Custom Field |
This only allows users in a given group custom field to execute a transition. |
User Is In Project Role |
This only allows users in a given project role to execute a transition. |