Are you using JMWE for Jira Server and Data Center and want to learn how to use this condition? Head to our documentation here.
This is especially useful to hide Global transitions from multiple statuses. The transition on which the condition is configured will be available only if the issue is in one of the selected status(es).
To add 'Current Status Condition' to a transition:
Click Edit for the workflow that has the transition you wish to configure the condition on.
In the Workflow Designer, select the transition.
Click on Conditions in the properties panel.
Click on Add condition.
Select Current Status Condition from the list of conditions.
Click on Add to add the condition on the transition.
Select the current status(es) from the Current Status field.
Click on Add to add the condition to the transition.
When you add this condition to a transition, the add-on checks the current status of the issue. If the issue is in one of the selected status(es), then the transition will be available to the user. If not, the transition will be hidden.
A typical use of this workflow condition is to disable a global transition from certain statuses. Consider a use case where you do not want to show the “Escalate” transition from the “Closed” status. To configure this:
Add the “Current Status Condition”
Select all the statuses in the configuration except the “Close” status