Forums

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

Automate addition of a label when issue is linked

Nicolas Rigaill
Contributor
June 26, 2024

Hello everyone,

I'm trying to set up an automation, but I can't find how to fit my requirement.

I need that :

When a ticket A from any project is linked to a ticket B from a project X, and ticket B has a label = Test123, then ticket A must have a label Test456.

Thank you for your help,

Nico

2 answers

1 accepted

0 votes
Answer accepted
Varsha Joshi
Community Champion
June 26, 2024

Hi @Nicolas Rigaill 

 

You could try using the following:

image.png

Hope this helps.

Nicolas Rigaill
Contributor
June 27, 2024

Hi @Varvara ,

Thanks for your reply :)
We ended up doing something like this, and it works.
The only remaining problem is that I only have to update the "Is child of" issues.
Unfortunately, when I start a branch, if I put a filter on the link type, it doesn't find any related issue.

2024-06-27_09h19_11.png
It works perfectly when I remove the filter.

As my client has 2 links with the same "is child of" name, I imagine this may be the source of my problem.

Thank you,

Nicolas

1 vote
Bill Sheboy
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.
June 26, 2024

Hi @Nicolas Rigaill 

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

Until we see those...

First thing, you appear to be on a Free license level.  If so, that means you have a 100 automation "usage" limit per month: https://support.atlassian.com/cloud-automation/docs/how-is-my-usage-calculated/#What-are-my-usage-limits

The rule you describe will need global-scope, and thus you may quickly consume that limit, and so halt further rule execution for the remainder of the month.

Assuming that is acceptable...

As noted, your rule will need global-scope, triggered on Issue Linked, and then it could test the trigger issue is in your "project X" using a condition.  The remainder of the rule should be easy to implement after that.

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events