Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue's previous status is not cached by {{issue.Previous status}}!

Babak Hosseini July 13, 2023

In my automation rule, I want to check if the previous status of the issue was not REVIEW, then transition it to REVIEW. I use the smart value {{issue.Previous status}}

Screenshot 2023-07-14 062142.jpg

But it does not work! It always sends the issue to REVIEW regardless of the previous status.

I also wanted to use When: issue transitioned from status {not Review} to ... but I don't know what to put in the From status field to work as not review!

Screenshot 2023-07-14 062634.jpg

 

1 answer

1 accepted

3 votes
Answer accepted
Darryl Lee
Community Champion
July 13, 2023

Hi @Babak Hosseini - where did you hear about {{issue.Previous status}}?

I have not seen that in the Smart Values documentation and do not believe it is valid. Instead, this is what they list for finding the previous status:

{{#changelog.status}}{{fromString}}{{/}}

I tested this and confirmed I could see the status prior to transition.

Babak Hosseini July 13, 2023

Thank you! I didn't know the link to the smart values doc!

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events