Transition from one status to all others

Paul Shrimpton June 8, 2016

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 8, 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.

Paul Shrimpton June 8, 2016

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 F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 8, 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.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 8, 2016

>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.

Like Zans McLachlan likes this
Devendra July 17, 2016

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.

Like Mitali Seal likes this
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 17, 2016

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.

Jason Durst January 2, 2019

@Nic Brough -Adaptavist- What add on will allow the status to revert/change to any status?

Case would be from Status:  Closed/Done to  Status: In Development/Open

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 2, 2019

None directly - you need to add the transitions "back" to each status, and then use add-ons to add conditions to stop your users performing the "wrong" transitions.

Suggest an answer

Log in or Sign up to answer