Workflow post-function to previous status

Is there a post-function in jira workflows that can convert to the previous status?

Have a client that counts a specific status, like a vote, and then would like it to automatically transition it back to the previous status. (Yes, I know this is clunky)

Or would it be best to accomplish through script runner?


1 answer

0 vote

Definitely needs to be a full transition back to a previous status, as transitions are the only way to change a status.

You will need something like Automation or Script Runner to provide an automatic transition back.

However, a better solution would be to prevent the forward transition in the first place.  I'm struggling to think of a use-case where going forwards only to have it automatically undone would make sense.

Hi Nic,

Thanks! I had the same issue understanding why.

The customer is using this to count votes on an issue. So let's say the issue is in status 'Pending Votes', then people can choose 'Up-vote'. That status is being tracked, so instead of having people manually transition back to 'Pending Votes' (which never happens) they are looking for an automatic option to go back seemlessly to 'Pending Votes' afterward.

I tested the script runner workflow function - Fast-track transition as this may be a potential solution but can't transition correctly after the post function.


Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted yesterday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

154 views 12 3
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot