Automation rule to comment on a ticket when fix version added

Katy Bradley
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!
May 15, 2023

Hello,

I have an automation rule created to comment on the linked ticket when a fix version is added to a ticket. However the {{issue.fixVersions}} syntax doesn't seem to be working.

Background:

We have a project for our services team to enter tickets, once they are approved the ticket is cloned and the cloned ticket is moved to a development project (done automatically).

We need the tickets to be able to communicate with one another, and one piece of information the services team needs to know is what fix version their ticket will be fixed in.

So I created a rule that will trigger when the development ticket's fix version is updated, and it will add a comment to the services ticket. The comment gets triggered as expected however the fix version from the development ticket, and release date are not getting pulled into the comment.

Automation Rule:

Screenshot 2023-05-15 at 10.58.14 AM.png

Audit Log:

Screenshot 2023-05-15 at 10.58.38 AM.png

Actual Comment on Service Ticket:

Screenshot 2023-05-15 at 10.59.04 AM.png

1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 15, 2023

The way your automation is configured it is trying to get the fix version from the linked issue, not the issue that triggered the automation. Try using {{triggerIssue.fixVersions}} that will get the fix version from the issue that triggered the automation.

Katy Bradley
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!
May 15, 2023

Oh my goodness, thank you so much. I knew it had to be something like that!

That worked perfectly. Really appreciate it.

Like Mikael Sandberg likes this

Suggest an answer

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

Atlassian Community Events