Set a condition in a global transition which only applies in a certain status

Use case

If the issue is in status "Status1" we will show the global transition to the user only if Priority is "Blocker" and the due date is set.


⚒️ Configuration

Add the Logical condition to the desired workflow transition.

Expression

Add the following expression:

Bash
%{issue.status} != "Status1" OR (%{issue.priority} = "Blocker" AND {issue.dueDate} != null)


📷 Screenshots

SetAConditionInAGlobalTransition.png


📚 Related use cases