Forums

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

Automatically propogate labels from an epic to all of its children and grandchildren.

Arnav April 15, 2022

I am able to copy epic from "Parent " to child but unable to do it for grandchildren.

3 answers

0 votes
Arnav April 15, 2022

Hi Deepanshu,

Thank you so much for your reply,

Please find the below rule that I have created.But it is not effecting to grand children.
Please help me to get it reflected in grandchildren.

When: Value changed for  LABELS

If : Issue matched in JQL - IssueType in (Epic)

For Stories (or Other issue in Epic)

Then :Edit issue fields Lables

0 votes
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.
April 15, 2022

HI @Arnav 

What do you mean by automatically propagate labels?

You could do this with automation rules, or possibly marketplace addons.  To do this with automation rules, please ensure you cover all the scenarios which are relevant to you.  For example:

  1. Labels changed in an existing epic with child issues
  2. Issue created and assigned to an existing epic
  3. Issue edited and assigned to an existing epic
  4. Subtask issue created for a parent assigned to an existing epic
  5. Epics and children which are in different Jira projects.  For this scenario, such a rule would need to be global/multi-project scope rather than project scope.
  6. Someone directly edits the labels in an issue other than the epic
  7. etc.

Also please note that the way epics and children link is different in Company-Managed and Team-Managed projects: company-managed use "Epic Link" and team-managed uses "Parent".

If you wish to try this with automation rules, please take a look at these references and examples, create your rule, and if you run into challenges ask the community to help.

 

Kind regards,
Bill

Arnav April 22, 2022

 

Hi Bill,

I have created the above rules, which is not working.
 Please check and let me know where I have done a mistake.

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.
April 22, 2022

Please post images of your automation rules and the audit log details, rather than posting links to your company's site instance.

What is not working and what do you observe?

What have you tried to diagnose the problem? (e.g. review audit log, review the issues, review the workflow, etc.)

Arnav April 22, 2022

In Audit log ,rule is success,
 I am not able to see changes in child ticket.

Arnav April 22, 2022

Auto labels from parent to subtask.PNGAudit log.PNG

Arnav April 22, 2022

Remove label from subtask when removed from paarent.PNGRemove label fro parent if deleted from subtask.PNG

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.
April 22, 2022

Thanks for that information. 

Would you also include images of each Create Variable and Issue Edit component to show the details?  That may reveal what is happening better.

And have you tried writing the created variables to the audit log to confirm they contain what you expected?

Arnav April 28, 2022

HI Bill,
 I have created the below rule.add label to subtask.PNGIF I add label in parent , It should be affect to child and grandchild.

In audit log it is showing success. when it is implementing  I am not able to find  labels to the child and grandchild.

How is it possible? 

please help

0 votes
Deepanshu Natani
Community Champion
April 15, 2022

Hi @Arnav 

To achieve this, you can have 2 automation:

1 which will copy labels from epic to its children and then 2nd which will copy from children to grand children.

Let me know if you face any issues while creating such automations

Arnav April 18, 2022

Hi Deepanshu,

Could you please write automation for this (how to copy children to grand children ).

 

Please post the image here.It would be great to understand .

Suggest an answer

Log in or Sign up to answer