Forums

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

Jira Automation Smart Values

Surya Narayanan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 24, 2024

Dear Community,

I am trying to create a Jira automation which is triggered by the change in the field called fixversions. I want to capture the value of the fixversion value before the change and after the change using the smart values. Below is the code i am using but is doesn't give any out put.

 

{{fieldChange.fromString}}

{{fieldChange.toString}}

3 answers

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 24, 2024

Hi @Surya Narayanan -- Welcome to the Atlassian Community!

You may try using the {{changelog}} or {{fieldChange}} smart values with the syntaxes noted in the documentation, however that may not be accurate.

 

There is a known defect that list fields like Fix Version do not accurately track the changelog when there are multiple changes to the field over time.  This is worsened because some paths to add / change Fix Version apparently do not appear in the history.  Please watch / vote for this defect to see progress on the symptom: https://jira.atlassian.com/browse/JRACLOUD-80486

 

If you still want to try the changelog, please review this documentation for the correct syntax:

Kind regards,
Bill

0 votes
JM Perrot
Community Champion
June 24, 2024

Hello @Surya Narayanan and welcome to the community :) 

To get the value of the old fix version, do you use a variable? And the smart value used in your automation is {{issue.fixVersion.fromString}}?

Maybe your error was writing {{fieldChange.fromString}} like in the documentation, instead of {{fixVersion.fromString}}...

If that's not the case, can you send me a screenshot of your automation?

Hope this helps,

Cheers

0 votes
Duc Thang TRAN
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 24, 2024

Hello @Surya Narayanan 

I seem correct the smart value, can you share the setting of your automation and last audit log ? 

Suggest an answer

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

Atlassian Community Events