Forums

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

How to automatically remove labels from child issues?

Etai Leers
Contributor
June 18, 2023

I got a "Theme" custom issue type.
The "Theme" is above the epics level.
I got a automation rule that every new label in the theme issue type it automatically add it to the hierarchy below.
(e.g. to all the Epics and their child Tasks/Stories/Bugs).

I'm not sure how to create the opposite way, when a certain label removed from the "Theme" I would like to remove the exact label from all the hierarchy below. 

2 answers

1 accepted

3 votes
Answer accepted
Evgenii
Community Champion
June 18, 2023

Hi, @Etai Leers 

If labels in your child issues are always same, as in Theme issue, maybe it's better not to remove labels from child issues, but to clone set of labels from Theme issue to child issues?image.png

Evgenii
Community Champion
June 18, 2023

When you copy labels from Theme issue to child issues - they will replace current labels.

Like Etai Leers likes this
Etai Leers
Contributor
June 18, 2023

There is no option to fetch only the change?

Evgenii
Community Champion
June 18, 2023

Sorry, don't think it's possible with Automation. In changelog is seen list of labels, there is no information, what exactly label was removed, you can understand it only by comparing two lists (new and old).

Here is rule, that makes similar task:

image.png

It's parent task changelog:

image.png

It's child issue changelog:

image.png

Like Etai Leers likes this
Etai Leers
Contributor
June 18, 2023

Ok thanks. 

0 votes
Etai Leers
Contributor
June 18, 2023

Thanks, @Evgenii but I need to remove only the specific label that been removed from the Theme.

For example I got a Theme with the following labels: "Label_01" , "Label_02" , "Label_03".

Now, someone removes the label: "Label_02" from the Theme.
I would like the child Epics and other issues to contain only: "Label_01 , "Label_03".

It works for me for adding new labels.
But when a label removed I need to remove the specific label from the Epics as well.

Suggest an answer

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

Atlassian Community Events