Go back to previous status in Workflow based on value of a custom field

In the workflow we are designing, there is a stage where we have realised that it makes sense to go back to a previous status based on the value of a field.

Is there a plugin or method (perhaps through scriptrunner) for doing this or should we start looking into coding a solution?

Any help would be greatly appreciated.

1 answer

1 vote

You need to build your workflow with that possibility in mind - have a transition back to the last status.  You can protect it with conditions to limit who can use it.  Then you can look into when it should be triggered, and maybe automating setting it back.

All you've said about a trigger though is "based on the value of a field".  You might find it easier to prevent issues going into the status when the field would trigger the jump back, or you could remove the field from edit and force the user to use the transtion back through the workflow if they want to set the field to the triggering value.

Thank you for your help. The trigger is a yes/no radio button that confirms acceptance of values set at the previous transition. The idea was that a yes value would allow the transition to be carried out whereas a no value would jump the transition back to the previous status from which the values could be reset. But like you said, it may be easier to just modify the workflow with a transitional loopback.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

309 views 4 9
Read article

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