You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.