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 votes

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 Sign up to answer
Community showcase
Posted yesterday in United States

From Atlassian: Confluence Security Advisory - 2019-03-20

Atlassian released a security advisory on 3/20/2019.  The full advisory is here: In a nutshe...

21 views 0 1
View post

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