Forums

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

In Jira Automation Cloud, how do you retrieve the value of the Previous Resolution?

Malka Jackson [Isos Technology]
Atlassian Partner
September 6, 2023

I am writing an automation where I need to validate, upon reopening an issue, that if the resolution that was set on the issue previously was "Fixed" or "Accepted" then do actions 1 through 5. Else, do actions 1 through 3. 

 

I have attempted to do an advanced compare where the first value was:

{{#changelog.Resolution.fromString}}{{/}}

the condition was a regular expression

and the second value was: (Fixed|Accepted)

The first value is returning nothing in my log statement so that isn't working. I am thinking that this is a list, and I need the newest item from the list. 

Am I on the right track?

1 answer

1 accepted

0 votes
Answer accepted
Melo
Community Champion
September 6, 2023

Hi @Malka Jackson [Isos Technology],

I may be getting it wrong, but wouldn't a JQL condition with "resolution WAS IN (Fixed, Accepted)" work in your case?

Cheers,

Melo

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events