Can i validate previous status to execute rule when issue is transitioned?

I have a workflow than can go into statues like this:

A --> B

B --> C

A --> C


I only want to execute an automation rule when the issue is transitioned to C but only from B status. So I need to check to things in order to execute the rule:

(1) The issue transitioned to C

(2) The issue was transitioned from B

Thanks for the help!

1 answer

1 accepted

0 votes
Nick Menere Community Champion Oct 18, 2017

Hi Sebastián,

To do this you can create a rule with the following:

  • Add a "Field value changed" trigger and listen for changes to the Status field
  • And a Compare condition to check for the previous value and current value.

It should look like this:

Screen Shot 2017-10-19 at 3.24.18 pm.png

The value for the First field is:

{{fieldChange.fromString}} -> {{fieldChange.toString}}

Hope that is what you were after.



Thanks for the response @Nick Menere that work great.

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,012 views 12 18
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