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?
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:
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
I might like Mathieu's solution better.
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.