Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple global transitions to same status

Thomas Heidenreich
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.
February 18, 2015

I want to have multiple golbal transitions to the same status, but the workflow editor won´t let me create them.

The reason is, I want to have dirrerent conditions and different post-functions. Using common transitions totally messes up the view workflow display, so I don´t want to do this.

I could export the workflow and create the global transitions in the XML - but I really don´t want to do this wink

 

Hope someone knows a quick fix...

Thanks

Thomas

2 answers

1 accepted

6 votes
Answer accepted
Begoña Bonet
Contributor
February 19, 2015

Hi Thomas,

I've created global transitions in this way but I've needed to make a little trick.

1.- Firts you must define the new global transition from graphical workflow interface but selecting a different status as final statusm (one status without global transition associated).

2.- Second, you must change to the text workflow interface and edit the global transition to change the destination status. In text workflow interface JIRA don't prevent you from having 2 or more global transitions with the same destination status.

3.- The workflow works ok

Regards,

 

Begoña

Thomas Heidenreich
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.
February 19, 2015

Hi Begoña, thanks, this works - you cannot edit the global transition in the graphical editor anymore, but that´s something I can live with. Thomas

dorian_intuit May 3, 2015

The same information can be found here: https://confluence.atlassian.com/display/JIRA/Advanced+workflow+configuration#Advancedworkflowconfiguration-common_transitions Note: I added a status to my workflow (since all of my other statuses had global transitions). Followed the instructions and then deleted that status and it worked fine.

0 votes
Philipp Sendek
Community Champion
February 18, 2015

Hey Thomas,

I suppose you have too many status to instead create the transitions between the status and this globally-accessible status individually?

The question is, if JIRA - even if you would force it using the XML or any other way - is capable of handling multiple global transitions to the same status with different conditions and post-functions. Considering it does work though, it's also a matter of how the workflow viewer would display it and if this workflow is in any way maintainable for (other) administrators.

Regards,
Philipp 

Thomas Heidenreich
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.
February 19, 2015

There are not too many statuses - the thing is there are two different global transitions to close an issue I.e. - reporters can close with resolution set to canceled - developers can close, but have to give a reason and select a resolution Conditions in validators and post-functions would also do the trick, but as they are not there this seems for me the way to go...

Like kbinl likes this

Suggest an answer

Log in or Sign up to answer