Forums

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

Add a label from an Epic - Automation

Luis Eder Rivera May 23, 2023

Hello community! 

 

I have reviewed some posts from here but nothing works :/

 

I want to automate that, when an issue is updated, review its Epic Link and if it matches RTB or Run the business in its name, then add the "RTB" label on the updated issue.

I have created this automation, but when I run it, the Audit log indicates that no actions are performed. 

 

Any idea about what's wrong? RTBQuestion.png

2 answers

1 accepted

0 votes
Answer accepted
Fernando Eugênio da Silva
Community Champion
May 23, 2023

@Luis Eder Rivera , Welcome to the Atlassian Community!

You are using the wrong JQL for this case.

The JQL you are using would only work if you were making a condition to read the updated issue itself.

Something like:
For Current Issue > IF > "Epic Link" = XXXXX

As you are using a related issue to fetch the associated Epic, in JQL you only need to put the Epic key. Something like this: key = EPIC_KEY

Like this:Screenshot_111.png

The key needs to be the 'Epic Key'.

Hope this helps

Regards,

Fernando

Luis Eder Rivera May 24, 2023

Hi Fernando, this worked perfectly! Thanks for your guidance! 

0 votes
karim -Atlassway-
Banned
November 22, 2023

Hi team , 

Did any one use Colored Label Manager  acceuil.pngLabel page.png

Suggest an answer

Log in or Sign up to answer