Task: when creating a new epic, several stories are automatically created inside. What am I doing wrong?
Hi @Dima Novik
Welcome to the community !
You need to retrieve the "Epic link" : copy from Epic. Then add the following JSON under more options
{ "fields": { "Epic Link": "{{issue.key}}" } }
This should works now,
Regards,
Seif,
Hello @Dima Novik
I hope you are doing great.
I believe this is because the Epic that triggers the rule has a value in the "Parent" field. This means that the trigger Epic has an initiative issue as a parent.
When this is the case, automation tries to clone all the values from the Epic into the new issues, but, since the newly created issues are no longer of the Epic type but from a different level in the hierarchy they cannot have an initiative as a parent and this causes the rule execution to fail.
To clear the parent field from the newly created issues with epic link in the Automation rule you need to use the JSON editor in the issue creation action and add the code we'll share next as shown in the screenshot:
{ "fields": { "parent": null } }
Please let us know if this information is useful by accepting the solution
Varun D
Jira Cloud Support team
Thank you for reply. Still no result.
Done. But nothing (
You need to add the "Epic link" field on the create sceen of Story
Thanks for your response @Dima Novik , I can see that the story is created however there is no epic link.
In order to correct this can you change the epic link to "Copy from trigger issue" from your original rule?
Note: Please make sure epic link is added to the story
I have tested this and it's working as expected
Jira Cloud Support Team
@Dima Novik
are you sure that your project is a software project?
It looks like you're new here. Sign in or register to get started.