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

This widget could not be displayed.
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.

Cheers,

Nick

Thanks for the response @Nick Menere that work great.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

146 views 2 0
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