Automation trigger on linked issue transition

Benjamin Peikes
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.
November 1, 2023

We have our Service Desk (let's call it project SD), tickets linked to our internal Jira project issues, (let's call them PA, PB, PC) (across multiple projects).

Is there a way to create a single automation rule, for project SD, which would cause a comment to be added to the SD ticket any time that any of the linked issues have their resolution set?

Legacy automation supports When "A linked issue is transitioned", but I don't see a similar When for the new Automation rules.

Am I missing something?

1 answer

3 votes
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.
November 1, 2023

You cannot do this using an automation in just the SD project, you would have to create a global automation that either triggers on the transition to the status that sets the resolution on the linked issues or on the resolution field change.

Something like this should do it:

Screenshot 2023-11-01 at 8.27.52 AM.png

So instead of working this from the SD project you would have to set up the automation from the PA, PB, PC projects since those are issues that will trigger the automation. 

Mathieu
Contributor
November 1, 2023

I did it slightly differently than @Mikael Sandberg

It is still a Global Automation

When Value changes for Resolution(value added) during transition, and Project is one of (PA, PB, PC) then for linked issues (can be set at a certain type, such as blocked by) add a comment. 

 

Linked Comments.png

Like # people like this
Els Bassant
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.
November 1, 2023

I did something similar to @Mathieu , And not a Global Automation but a Multiproject one.

But I added the condition to the linked issues. This way it only updates SD issues when a linked issue has the resolution set, but doesn't update any other linked issues (if there are any). 


For the comment I added the key and resolution of the linked issue:

 

Screenshot 2023-11-01 at 16.46.08.png

Screenshot 2023-11-01 at 16.46.23.png

 

I might like Mathieu's solution better.

Suggest an answer

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

Atlassian Community Events