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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events