I have a workflow in which I have introduced a status'On Hold' Now I want all the statuses to be able to transition to 'On Hold' except for the 'closed issue' status.
Selecting the checkbox 'Allow all statuses to transition to this one' will mean even The 'Closed issue' Status can be put On Hold. Which does not seem logical.
I know I can add transition from each status to 'On Hold'. But is there a better way to do it?
I wanted to achieve the same thing with the `Duplicate` state and didn't want to have incoming transitions from all other statuses
Solution 1 (Failed)
Add the following condition: `Previous Status Condition` to the transition. Check `Most recent status only` and also `Reverse condition`.
But this doesn't work because it checks for the previous status and not the current status of the issue.
Solution 2 (Success)
Add the condition: `Value Field Condition` to the transition. Choose `!=` and type the String value of the status you want to exept. Make sure it matches with capitals letter (i.e. Duplicate, Won't Fix).
This will work as a charm!
No is the short answer. The reason the "all" is there is to save the effort of having to link a transition loads of times. But there's no way anyone can predict "all except". For that, you should do it the way it's designed - create one transtion and reuse it where you want.
The other option is to add a condition to the transition that says "if current status = closed, do not allow transition". It'll look odd in your workflow diagrams, but the users won't be able to use the transition.
I am guessing there have been changes in "transition editing" since this answer was written because I do not seem to have the ability to add a condition as I wish. Upon clicking the "Add Condition" button it lists out a set of conditions (radio buttons) to choose from. And "if current status = closed, do not allow transition" is not one of them.
Any idea how this requirement can be achieved now?
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs