Hi guys - quick question:
I am designing a new workflow, and have a 'Parked' status, into which all other statuses can transition. Simple enough. Until, that is, I want the ability to revert the issue back to the previous status, which means that I want to set up a transition that allows me to move from 'Parked' to ALL the other statuses.
Other than setting individual transactions (which will get very cluttered and messy) is there a quick way to set up a transition FROM one status to all others, in the same way we can transition TO one status from all others?
Transition from one status to another can only be done via Workflow Status Id and Transition Id. Although you can trigger it using scripts, it basically refers to the workflow . So, without creating messy and unique transitions (one each for transition from one status to others) in workflow, it is not possible to resolve this.
Well that's not strictly true, is it? There's a checkbox to allow all other statuses to transition INTO a status, so clearly it can be set without having loads of transition lines etc. What I'm looking for is a way to add a transition FROM one status to the others without setting them all up individually.
Global Statuses are a different use-case entirely. They explicitly declare their Origin, Destination, and Transition. There is no option for adding the functionality as you are requesting it explicitly.
This isn't a new idea or request. Some paid add-ons are avaliable for JIRA Server which add additional functionality to JIRA Workflows to accomplish this. Others will attempt to resolve this through custom development or scripting add-ons.
>Well that's not strictly true, is it? There's a checkbox to allow all other statuses to transition INTO a status, so clearly it can be set without having loads of transition lines etc
Actually it is true. A transition is defined as having a single end point - it's the whole point of a transition. It's nonsense to have a transition that ends up in more than one place, it cannot logically work (unless you allow an issue to have multiple status, which completely breaks your humans) Global transitions have a "from every step" ability, and it's also possible to have shared transitions - many sources, one destination. But all transitions end in one place.
The add-ons Steven refers to do the job - there's even one for your case "only allow transition if it's back to the last status the issue was in". But you still need all the outgoing transitions to use it.
From a Status to any Status (single end point) is what I am seeking too. What is wrong with this requirement? Yes, a transition that has single end point, however its not defined and so can be any from available Statuses.
If AddOns and scripts can meet the need then sure Atlassian folks can implement this requirement too.
The need here was not a single end point transition, it was to go from one status back to the previous status. That's not something supported natively.
Atlassian tend to push improvements to the bottom of the to-do list if there's already add-ons that can do it.
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