Forums

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

How to create automation to copy "Labels" when there is a change in the Epic/Parent "Labels" field

Zsofia Rozsa October 3, 2023

Going back to the post by Bill Sheboy on Jun 02, 2022:

  • Screen Shot 2023-10-03 at 7.35.24 PM.png

I can't get the code automation to work properly on Labels, i.e. the Labels field is not updating if there's a change in the Epic. Could you advise in on what I might be doing wrong?

Screen Shot 2023-10-03 at 7.23.23 PM.png

2 answers

1 accepted

0 votes
Answer accepted
Geethanjali Katagani
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.
October 3, 2023

Hi @Zsofia Rozsa ,

Good day,

The following automation we've implemented is successfully changing the labels of issues related to the epic whenever the labels field value of the parent epic is modified.

AC19.PNG

I hope this update is helpful to you, let me know if you encounter any issues or have any questions.

 

Regards,

Geethanjali

Zsofia Rozsa October 4, 2023

Geethanjali,

I'm having a hard time to getting this to work on Subtask items though - it's not updating based on the parent Labels. Thoughts?

Screen Shot 2023-10-04 at 10.34.15 AM.png

Geethanjali Katagani
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.
October 4, 2023

If you click the three dots on the the right side of the label field, three options will be displayed.AC21.PNG

Select the Copy Option>Select copy from trigger issue value in copy options.

AC22.PNG

Zsofia Rozsa October 13, 2023

Thank you!

0 votes
Francis Batilo
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.
October 3, 2023

@Zsofia Rozsa ,


Welcome to Atlassian Community! I'll try to assist you with your inquiry. 

Let me see if I have understood your question properly. So, your objective is to sync all label values from the Epic to its child issues. For example, if a label is added into the Epic, you'll cascade the labels to all issues related to the epic that was updated. Similarly, if a label was deleted, it will be deleted on all issues related to the updated epic.

Is this the goal you're trying to achieve?

Cheers,

Francis

Zsofia Rozsa October 3, 2023

Correct!

Suggest an answer

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

Atlassian Community Events