This section has use cases that help you understand the usage of the Conditions provided by JMWE.
On this page:
Current Status Condition
This condition can be used to hide/show a particular transition from the list of available workflow actions, based on the current status of the issue.
Sample use cases:
Block issue transition from current status to itself
- Add the
Current status condition
to all the transitions of the workflow, the issue follows. - On each condition select all the status(es) from the
Current Status
field except the current one
- Add the
Allow users to transition the issue to Approve status only when the issue is in Verified status
- Add the Current status condition to the transition "Approve".
- Select "Verified" status from the "Current status" field
Block transition to 'On Hold' status when the issue is in 'Closed' status
- Add the
Current status condition
to the transition "On Hold". - Select all the status(es) applicable to the current issue, except the 'On Hold' status.
- Add the
Linked Issues Condition
This condition can be used to hide/show a particular transition from the list of available transitions, based on the issue's linked issues.
Sample use cases:
Hide the transition "Triage" until at least one assigned subtask is available for the issue
Hide the "Start Progress" transition on a ticket when there is a blocking issue linked to it
Linked Issues Status Condition
This condition can be used to hide/show a particular transition from the list of available transitions, based on the status of the issue's linked issues.
Sample use cases:
Hide the "Close" transition of the Epic until all its Stories are closed.
Prevent the user from resolving the ticket, if there are any unresolved bugs associated to it.
Build-your-own (scripted) Condition
This condition can be used to hide/show a transition based on a Jira expression.
Sample use cases:
Only the Reporter of the issue should be able to close the service ticket.
Hide the transition from the current user if he does not belong to the Approvers
Block a specific transition when the Time to resolution is breached.
Prevent the users from "Return/Exchange" on the purchase order after 15 days from the item delivery date
Enable the "Start Progress" only on issues in the current sprint