Forums

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

Auto-add components after adding component to parents

Tony Mercadante
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!
January 16, 2024

Hi there - is it possible to setup some sort of automation that automatically adds component fields to child issues once a parent component field has been added?

1 answer

1 accepted

3 votes
Answer accepted
Ste Wright
Community Champion
January 16, 2024

Hi @Tony Mercadante 

It'll be possible using Automation, but it depends what level the parents and children are at.

I've assumed below you only have Epic > Story > Sub-task, based on your Product Plan being listed as "Standard".

---

Epic > Story

  • Trigger: Field Value Changed
    • Field = Components
  • Condition: Issue Fields Condition
    • Field = Issue Type
    • Condition = equals
    • Value = Epic
  • Branch: Related Issues
    • Type = Children
      • Branch-Action: Edit Issue
        • Field = Components
          • COPY = Add Components from Trigger issue

---

Story > Sub-task

  • Trigger: Field Value Changed
    • Field = Components
  • Condition: Issue Fields Condition
    • Field = Issue Type
    • Condition = equals
    • Value = Story - or other relevant issue types
  • Branch: Related Issues
    • Type = Children
      • Branch-Action: Edit Issue
        • Field = Components
          • COPY = Add Components from Trigger issue

---

A few notes on this approach...

  • If children doesn't work for Sub-tasks, try the Branch type "Sub-tasks"
  • The COPY option is available through the breadcrumbs (...) next to the field entry area

---

These are just examples; you might need to modify the rules to meet your specific needs - but this should help move you forward :)

Ste

Tony Mercadante
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!
January 17, 2024

Worked like a charm, you're a legend! Thanks.

Like Ste Wright likes this

Suggest an answer

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

Atlassian Community Events