Forums

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

Need Automation script for populating subset of values in a field from a parent issue

Javeria Mateen June 22, 2023

Need Automation script for populating subset of values in a field from a parent issue

1 answer

0 votes
John Funk
Community Champion
June 23, 2023

Hi Javeria,

Can you describe your exact scenario with more information? 

Javeria Mateen June 23, 2023

Hi John,

Parent Issue has Labels  say 'XYZ', 'ABC-123'. I need to copy the labels 'ABC-123' alone in the Child Issue when either Parent issue is created or edited.

My script is working fine until Updating the child when parent is created or updated, But I need to copy only a subset of labels. Any samrt issue features that I can make use of?

John Funk
Community Champion
June 23, 2023

Can you share the automation rule that you have so far? 

Javeria Mateen June 23, 2023

 

When field value- Components changes

    Issue filed condition- Feature( for edit or create)

    Then Create variable- QC with smart value {{issue.components.name}}

    Branch rule/related issues

         where issue type- (child)

         edit issue  with field values set from variable QC

John Funk
Community Champion
June 23, 2023

No, a screenshot of the actual rule please. 

Javeria Mateen June 23, 2023

Capture.JPG

John Funk
Community Champion
June 24, 2023

Where is the part where you are editing the issue to update the Components? 

Suggest an answer

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

Atlassian Community Events