Checks the issue has been in a status previously not working

I have recently been testing the script runner function on conditions -  Checks the issue has been in a status previously to check the previous status before displaying the transition but it appears to not be working.

For example:

State 1 -> State 2 (note: State 2 can be reached from a number of other states, not just State 1).

I placed a script condition on the workflow to check the issue has been in the status previously, set previous state to State 1 and checked the Check only the last state option (i.e. should have come from State 1).

This is not working and the transition back from State 2 to State 1 is not showing. If I remove the Check only the last state, it works but then it displays for all of the other states that can reach State 2 - which is not the desired behaviour.

I'm currently using script runner version 3.0.7

 

1 answer

0 vote

You also created https://jamieechlin.atlassian.net/browse/GRV-641 so let's keep the discussion there.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,227 views 14 19
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