Forums

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

If epic gets a label removed then remove the same label from children issues

Bruno Ferreira September 19, 2023

Hi, 

jira automation issue.jpgI am trying to create an automation that, once an epic gets a label removed, then the same label gets removed from the children issue, in case they exist (they should exist because I have an automation that adds them and that one works). 

 

However, I dunno how to set the automation to do that. I tried as you can see in the screenshot but I get an error because there is not value to copy from, since it is a remove operation. 


3 answers

1 accepted

0 votes
Answer accepted
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.
September 19, 2023

Hi @Bruno Ferreira -- Welcome to the Atlassian Community!

Have you tried using the changelog / fieldchange smart values to remove the "deleted" labels: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--fieldChange--

Specifically, you could try using this smart value in the Labels to Remove option:

{{deletedFieldChange.values}}

If multiple values could be removed, you will need to expand that expression to remove a list of values.

Kind regards,
Bill

Bruno Ferreira September 20, 2023

It worked, tks a lot!

Like Bill Sheboy likes this
0 votes
Bruno Ferreira September 19, 2023

Tks @Mohammed Aamer Khan but I guess this approach will override the children issue labels, copying the labels of the epic into the issue, correct?
This approach doesn't work for me because the children issue might have labels that the epic itself doesn't has, so if I just copy the labels form the epic into the issue I ll lose those.

0 votes
Mohammed Aamer Khan
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.
September 19, 2023

Hi @Bruno Ferreira

 I have tested below rule and it is working as expected.epic.pngepic2.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events