Create a child ticket that copies parent fields automatically

Michelle Rose
Contributor
January 2, 2024

I want to build this automation if it's possible -- 

I create a child ticket off of an initiative or epic for example (like in screenshot 1) and when I create it, certain fields from the parent automatically persist to that child ticket.

Right now my automation only works if I create the ticket through the generic creation menu / filling out the parent link field on that menu outright (screenshot 2). But that creates a lot of issues, it would be so much easier if the automation worked via scenario 1. 

 

Screenshot 2024-01-02 at 11.55.33 PM.pngScreenshot 2024-01-02 at 11.56.06 PM.png

1 answer

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 3, 2024

Hi Michelle,

What is not working for you in Scenario 1? 

And can you post a screenshot of your current Rule? 

Michelle Rose
Contributor
January 16, 2024

@John Funk The fields don't cascade down. And I get this error from the automation (attached). 

I have to link the epic to the initiative in the create issue menu in order for the automation to work, but I want it to also work if I create the epic separately and link it to the initiative after.

 

Screenshot 2024-01-16 at 5.41.57 PM.pngScreenshot 2024-01-16 at 5.42.19 PM.pngScreenshot 2024-01-16 at 5.43.29 PM.png

Bill Sheboy
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 Leaders.
January 16, 2024

Hi @Michelle Rose 

Adding to John's answer:

That symptom can happen with the Issue Created trigger because it fires so quickly that some data for the issue may not be available at the time the rule starts...such as the parent key from which to copy the fields.

The work-around for this is to always add the Re-fetch Issue action immediately after the Issue Created trigger in your rule.  This will slow down the rule and re-load the data before proceeding.

Kind regards,
Bill

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer