Forums

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

Assigning parent from automation

Dominic Mercorelli January 31, 2024

When an epic is created in my project, I have automation automatically create three tickets. Once those three tickets are created, I wanted to be able to link those ticket back to the epic via the parent field. However, right now it is not working. The way i have my automation set up is when an issue create, it will check to see if it is an epic. Then if it is an epic, it will create the three tickets. Then I used the branch command "For: All created issues" then "Edit issue fields", which in there I select parent and set that field to "Copy Parent from Trigger issue"

 

When this runs I get an "No fields or filed values to edit for issues (could be due to some field values not existing in a given project):

2 answers

1 vote
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 31, 2024

Hi @Dominic Mercorelli 

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

Kind regards,
Bill

0 votes
Pierre Ibrahim
Contributor
January 31, 2024

Hi @Dominic Mercorelli ,

I think your automation is trying to find the "Parent" in the trigger issue (Epic) to copy it down to the created issues, the Epic wouldn't have a parent since it IS the parent in this scenario.

What you may want to do instead is copy the issuekey to the parent field from the trigger issue. I'm not able to select the issuekey in automation, but I'm on data center, if you have that issue, you might be able to set a customfield in a post function of the epic to be equal to the issue key, then use that customfield in your automation.

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