How can I transition back to prior status via built-in scripts?

There is a handy script called "Bulk Fix Resolutions" that changes an issues resolution state, 
Is there a similar function to switch back to a prior status?
Our users frequently push a transition button prematurely and I need to set it back to another part of the workflow. 

2 answers

1 accepted

1 vote

The Resolution script is there because Resolution is a funny field which you can break and not be able to fix easily.

Status is not a field, it's an indication of position in the workflow, and it can only be changed by moving through transitions.  So, you need to have a transition from the "wrong" state back to the correct one in your workflow (you could limit it to admins only if you want, but if it's the users making the error, I'd let them do it too, so they can correct their own mistakes).  Once you have that, you can run a filter for the "wrong" ones, and use "bulk edit" to push them all back through the new transition.

Thanks Nic for the details. 

 

I was hoping I didn't have to add a back button to each of my statuses but it appears that is the case.  It would be nice if this were something I could enable globally rather than modifying all the workflows in my projects...  

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 Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

918 views 3 12
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