Hello,
I want to create a automation to add a label when a ticket is linked to another one.
But I want this add this label on the source ticket.
Example
I link the AAA-1 to BBB-10 and I want automation adds a label on AAA-1
Currently on automation, I able to trigger linked issue but the update is applied on destination ticket.
How to do that?
Thank you
Hello @CEDRIC DEVAUX
If you review the information available with the Issue Linked trigger you will see that it explains how to identify each issue in the linked pair.
Which link type are you using? How are the two issues related by that link? For example
AAA-1 blocks BBB-1
or
AAA-1 is blocked by BBB-1
I use AAA-1 blocks BBB-1 and so I want to add a label on AAA-1.
As in native, we are not able to create a JQL to track issues linked to ticket from a project except to use linkedIssues(issueKey), the idea is to track tickets with the labels where the origin is outside of the project BBB.
That's why, I want to add a label on the source ticket AAA-1 where AAA-1 blocks BBB-1
I hope it's clear :-p
Cedric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In that specific case, the rule will be triggered by AAA-1 - the issue that is causing the block is the one that triggers the rule and is referenced by the {{issue}} smart value.
If you want to add a label to AAA-1 you need only add an action to Edit the issue and add the label.
TRIGGER: Issue Linked
Link type: Blocks
ACTION: Edit issue
Field: Labels
Make sure you select the ADDREMOVE option
Specify the label you want to Add
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Trudy,
Finally it's very simple :)
Thank you for your help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @CEDRIC DEVAUX ,
Updating label to source ticket depends on link type you use, suppose you used AAA-1 is blocked by BBB-1 and want add label on ticket AAA-1 use the automation shown in the below attachment.
OR
If you used AAA-1 blocks BBB-1 the label will add on BBB-1.
This automation will work on the basis of the link type you use. If you use inward link type like is blocked by, is cloned by, is duplicated by, etc. label will added to AAA-1 or if you select Outward link type like blocks , clones, duplicates, etc. label will be added to BBB-1.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.