Forums

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

Gams

Sami
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!
March 13, 2025


I'm trying to build an automation rule that logs or processes changes to the "Fix Versions" field (e.g., adding or removing versions). Specifically, I want to access the `fromString` and `toString` values to determine what versions were added or removed. However, when I try to iterate over the changelog using smart values, I get empty output, even though the raw changelog data is populated

1 answer

1 vote
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.
March 13, 2025

Hi @Sami -- Welcome to the Atlassian Community!

First,  you posted this in the App Central group, but it seems to be a Jira product question.  Hopefully one of the community managers will move it.

 

Next, for a question like this, context is important for the community to help.  Please post the following:

  • what version of Jira are you using, as that impacts automation rules: Cloud, Server, or Data Center
  • what type of project is this (e.g., company-managed, team-managed, etc.)
  • an image of your complete automation rule in a single image for continuity
  • images of any relevant actions / conditions / branches
  • an image of the audit log details showing the rule execution
  • explain what is not working as expected and why you believe that to be the case.

Until we see those...

There are known defects with changelog accuracy for list fields like Fix Version which is available to automation rules.  Knowing more about your Jira version will help identify those impacts.

While it might be possible to detect changes with {{#changelog.fixVersions}}{{fromString}}{{/}} and {{#changelog.fixVersions}}{{toString}}{{/}} or the {{fieldChange}} smart values for Jira Cloud, they may not be correct when the field has changed too many times.

Ultimately, because of the changelog problems, the only option for a very accurate list of changes is to use the REST API endpoint to read the changelog, find the changes to the field, and interpret what changed.

 

Kind regards,
Bill

Mikael Sandberg
Community Champion
March 13, 2025

The post has been moved to the right section.

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer