How to copy Component data from Epic to Childern without overwriting anything in Children

Gregory Carman
Contributor
March 4, 2024

Hello all,

I created an automation rule to copy a specific component value from an epic to all related children items.  This seems to work fine, but I noticed that on some stories/bugs it replaced values in there with my Epic component only.  For example:
Epic gets a new component = ABC
Story already has data in this field = 123 and 456
When rule runs, story only has ABC (123 and 456 are removed)
How do I update the automation so that it just appends the new value (ABC) and doesn't overwrite it?
NOTE: Using the "Then: Edit issue fields - Components" to make the change
jiraAutomationRule.jpg

1 answer

1 accepted

1 vote
Answer accepted
Laurie Sciutti
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 4, 2024

Hi @Gregory Carman ~ in your Edit issues fields action, ensure you include the Copy from Issue option in addition to the Components you want to add.  That ensures any existing Components are retained.  HTH

Capture.PNG

Gregory Carman
Contributor
March 5, 2024

It took some additional edits here and there, but I got this to finally work. Thank you Laurie!

Like Laurie Sciutti likes this
Laurie Sciutti
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 5, 2024

Awesome!!

Suggest an answer

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

Atlassian Community Events