How to copy labels from Epic to subtasks?

Etai Leers
Contributor
October 1, 2023

Hi,
I want to create an automation rule that copy the Labels from the Epic all way down to the Subtasks.
I'm able to add the Labels to the User Stories / Tasks but it is not being added to the Subtasks.

This it what I tried so far:

Trigger: when value changes for "Labels" , any changes to the field for Create Issue or Edit Issue.
If: Issuetype in (Task,Story)
for: Sub-tasks
then: Edit issue fields → Add labels from trigger Issue

image.png

Anyone know how copy the labels all way down the hierarchy ?

2 answers

1 vote
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 1, 2023

Hi @Etai Leers ,

i'm going to refer you to this other post that has a good bit of discussion similar to your request. The issue here is that the sub tasks are not associated with the epic, but rather the stories under the epic. So, as the other post mentions you can either do two rules, or consider the discussion between Alex & Bill using lookup issues and a branch. 

The two rule method would be structured as follows:

  1. triggered on label change, condition on epic type, and branches to change the related stories
  2. triggered on label change, condition on Story type, and branches to change the related sub-tasks
Etai Leers
Contributor
October 3, 2023

@Jack Brickey please send me the link to the other post.
Thanks.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 22, 2023

Very sorry for missing the reference link. I was just looking for it but could not find it. However the follow over the same goal I think.

If-I-label-an-Epic-can-I-automate-that-label-to-go-to-all-the-tasks 

Like Bill Sheboy likes this
karim -Atlassway-
Banned
November 23, 2023

Thanks Jack 

0 votes
karim -Atlassway-
Banned
November 22, 2023
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.
November 22, 2023

Hi @karim -Atlassway- 

You have made several recent posts suggesting this vendor product.  

What is your relationship to the vendor for this product? 

If you are employed by them, please ensure you disclose that information in the text of your post, as described in the Marketplace Partner Guidelines:

https://community.atlassian.com/t5/App-Central/Atlassian-Community-online-guidelines-Marketplace-Solution/ba-p/689723

Kind regards,
Bill

Like karim -Atlassway- likes this
karim -Atlassway-
Banned
November 24, 2023

Hi Bill, 

 

it’s okay . Will do .

 

Thank you for the information  .

Regards

karim

Suggest an answer

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

Atlassian Community Events