Transition from one status to all others

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?

1 answer

1 vote
Mahesh S Community Champion Jun 08, 2016

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.

Steven Behnke Community Champion Jun 08, 2016

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.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

773 views 2 19
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you