Forums

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

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 ?

1 answer

0 votes
Andy Heinzer
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 Champions.
November 16, 2018

I'm not sure how to recreate the problem you describe.   The order in which issues appear on a board in Jira Software tends to be handled by a ranking system Jira Software implements.    The changes you make to a board when ranking issues should be almost immediate in regards to Jira changing a value in the database and then reindexing that issue.

Perhaps your system is encountering some kind of problem either with the ranking system, or with SQL saving these changes as expected.   I would start by going to the Jira System administration page, on that page in the left column click the link called 'Lexorank management'.  I would be interested to see how many rank fields you have, the status here, and you can even run Integrity checks on the lexorank values here to see if things are behaving normally.

If you can reproduce this behavior reliably, I would be interested to see what your $JRIAHOME/log/atlassian-jira.log file looks like at or around the time you change these issue ranks and then notice your changes not being honored by the system.  I suspect there might be more information in the logs when this happens that might explain this.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events