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
Regards,
Varun D
Jira Cloud Support team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Regards,
Varun D
Jira Cloud Support Team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to add the "Epic link" field on the create sceen of Story
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
are you sure that your project is a software project?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.