Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Self transition not resolved by Atlassian

Antônio Duarte
Contributor
January 25, 2019

Ticket https://jira.atlassian.com/browse/JRASERVER-26885 (Transition end-point can be "Self" as well as a specific state) was marked as RESOLVED, but NO solution was developed by Atlassian.

Can someone help on this issue?

Thanks in advance.

 

Antonio.

2 answers

1 accepted

1 vote
Answer accepted
Antônio Duarte
Contributor
February 14, 2019

I got the answer to this question! Just see the comment done by @Rp Subs at the ticket opened by Petterson: https://jira.atlassian.com/browse/JSWSERVER-19879.

Thanks for you all, friends!

Antonio.

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 14, 2019

You are welcome, Antônio!

Thank you for your feedback and have a nice day! :)

1 vote
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 25, 2019

Hello Antônio,

Can you please provide us the JIRA version that you are currently using?

For all versions developed after 2012, JIRA already has the functionality to create a transition that goes to the same status it came from (Loop Transitions), just like explained in the suggestion you mentioned.

The steps to perform it will be different depending on your JIRA version, but it's usually the ones below:

1 - Navigate to your workflow > Click to edit it > On diagram view, Click to Add Transition

2 - Select the same state on both From Status and To Status fields:

Screen Shot 2019-01-25 at 17.14.30.png

3 - Publish your workflow

P.S: Also, you can simply click on your workflow status and flag the option Allow all statuses to transition to this one. Performing it, you will be able to transition your issues to any status to this one, even if the issue is at the same status.

Let me know if I've properly answered your question.

Antônio Duarte
Contributor
January 27, 2019

Hi, Petterson,

  I'm aware of the solution you mentioned in your message, but this is not the solution I'm talking about.

  Let me try to explain in other words:

  Suppose I have a very simple workflow with the classic states and transitions:

   TODO ---> INPROGRESS ----> DONE

  For EACH of the three states, I want to have another Loop Transition with the same name (let's name it "Change number"). Every time the user clicks on it, a simple screen must be shown, with a single number field on it named "Total number of blocks", and the user must update this info. So, I'll have some validators that check if the number was changed and after that, I have also some other post-functions that change other custom fields in this issue, based in this value that was updated by the user. 

This SAME  Loop transition, with the same name, the same screen, the same validator, and the same post-functions MUST be implemented for ALL three status of the workflow. You will clearly notice that it takes three times the same efforts to produce it.

What I'm looking for is: I want to create some "special configurable" transition, that is created ONLY ONCE, with its screens, validators, and post-functions, but JIRA is wise enough to understand that this Loop Transition is valid (and available) for ALL the three states TODO, INPROGRESS and DONE. 

Of course, for a so easy workflow, it is not so important, but imagine this same need that must be applied to a much more complex workflow with lots of states!

If I'1m still not clear enough, please, make me know.

Thanks in advance for your help.

 

Antonio.

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 12, 2019

Hello Antônio,

Thank you so much for your clear explanation.

I believe that I have misunderstood your question just like Roy did in the mentioned suggestion, so I apologize for that.

Indeed, JIRA does not have the functionality to build a single common loop transition that would be applicable for all statuses of a workflow in a single shot.

That been said, I have properly created a new suggestion and linked it to the resolved one, but adding more details in order to let our developers better understand your requirement. I hope you don't mind that I used your example for it:

https://jira.atlassian.com/browse/JSWSERVER-19879

Please vote and watch the suggestion to increase its impact and also receive notification about any updates.

Let me know if there is anything else I can help with.

Like Antônio Duarte likes this
Antônio Duarte
Contributor
February 12, 2019

Hi, @Petter Gonçalves,

Thanks for your reply and for creating a new suggestion.

I'm just watching it, and I hope we have some good news soon.

Greetings.

Antonio.

Suggest an answer

Log in or Sign up to answer