Comment on Issue with changed Fix Version from Automation

David Weir
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 7, 2025

I have automation that says:

WHEN an issue transitions to In Progress
IF the issue has a FixVersion of "TBD"
THEN edit the FixVersion to "Next Unreleased Version"

This works great! However, I also want to comment on the issue/send out an email saying that this change took place and in the comment I want it to state the new FixVersion.

This message would work, but it would give me the old FixVersion of "TBD" not the one it would change to:
This issue is automatically being moved to {{issue.fixVersions.name}}

This message doesn't return anything after, "moved to":
This issue is automatically being moved to {{#changelog.fixVersion}}{{toString}}{{/}}

How do I comment on the issue to say:
This issue is automatically being moved to <newFixVersion>

 

Thank you in advance

1 answer

1 accepted

2 votes
Answer accepted
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 7, 2025

Hi @David Weir -- Welcome to the Atlassian Community!

When an automation rule updates an issue, such as assigning the Fix Version, that updates the database only.  It does not update the in-memory data the rule has for the issue.  This is done for both performance reasons and because the rule may need access to the data from the time the rule was triggered.

When you want the issue to reflect the updated data, add the Re-fetch Issue action after your Edit Issue action.

Kind regards,
Bill

David Weir
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 7, 2025

Ah thank you! Can't believe it's that easy. I should've asked sooner.

Like # people like this

Suggest an answer

Log in or Sign up to answer