It's a condition that enables you to block/allow transitions by running your own Groovy Script.
You can use this condition to program your own custom logic if no predefined conditions suit your needs.
| Element summary | |
|---|---|
| Status | |
| Version compatibility | 6.0.1 - Latest |
| Supported | Yes |
| Introduced in version | 2.0.0 |
Note that Conditions are verified every time an Issue is viewed by any user. Excessive use of computation heavy scripts might end up causing performance loss. |
The transition you're verifying is enabled/disabled based on the value returned by your script.
If your script returns true, a transition is enabled and the appropriate button will appear on view/edit Issue screen.
Otherwise, Condition is not met and the transition will be blocked for the user.
The image on the right shows a simple Condition script, that disables transition for Issues without a user assigned. (It's true only when the Assignee field is NOT empty.)