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
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
Ah thank you! Can't believe it's that easy. I should've asked sooner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.