Forums

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

How to automatically assign labels to child tasks?

Colin Arsenault
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 15, 2024

Novice JIRA user here. If I have an epic created (or several epics) and I assign it a label, is it possible to create an automation that will assign the same label to all child tasks and subtasks? 

1 answer

0 votes
Adam Rypel _MoroSystems_
Community Champion
February 15, 2024

Hi @Colin Arsenault 

It is, you would create a rule similar to this in Automation for Jira:

Snímek obrazovky 2024-02-15 v 18.26.28.png

To explain:

  • Trigger is "Field value changed"
  • Condition is there to make sure the rule is run only for epics
  • Branch is a component, which allows you to modify different issues apart from trigger issue - in this case issues in Epic
  • Then you just add the action Edit issue to the branch, choose Labels field and copy all the values from trigger issue - Epic. You can choose copy by clicking three dots next to the field (this will copy all labels to the target issues and will overwrite all existing labels in that issue)

Of course you also need to implement in which projects this should happen and think about all the other aspects that the rule might affect.

If you want to do that also for subtasks, you would do the same with Subtasks branch.

Adam Rypel _MoroSystems_
Community Champion
February 15, 2024

Sorry I missed "If I have an epic created" - if you want that to happen only when the epic is created, then you would use trigger "Issue created".

Suggest an answer

Log in or Sign up to answer