Forums

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

Automation rule to comment on a ticket when fix version added

Katy Bradley 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

2 votes
Answer accepted
Mikael Sandberg
Community Champion
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 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
Dhanisha Suresh Malvadia
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!
February 14, 2025

 

 

 

Hi @Katy Bradley

We have a similar requirement and are unable to trigger the rule with the condition 'When Value changes for: fix version.' However, when we replaced the fix version field with assignee, it did trigger. Can you suggest what we might be missing? Thanks in advance


Flow image.png

Katy Bradley February 21, 2025

Hi @Dhanisha Suresh Malvadia 

Are you trying to comment on the same issue that the fix version is getting changed on, correct?

For the When action, what do you have in the following fields?

- Change Type

- For

Suggest an answer

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

Atlassian Community Events