Forums

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

Multiple stories in one epic

Dima Novik December 6, 2022

Task: when creating a new epic, several stories are automatically created inside. What am I doing wrong?

Story.pngLog.png

2 answers

0 votes
Varun
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 7, 2022

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:

Screenshot 2022-12-07 at 1.39.06 PM.png

{
  "fields": {
     "parent": null
  }
}

Please let us know if this information is useful by accepting the solution

Regards,

Varun D

Jira Cloud Support team 

Dima Novik December 7, 2022

Done. But nothing ( Снимок экрана 2022-12-07 в 11.32.20.pngСнимок экрана 2022-12-07 в 11.31.50.png

Varun
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 7, 2022

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

Screenshot 2022-12-07 at 2.15.40 PM.pngScreenshot 2022-12-07 at 2.15.51 PM.png

 

Regards,

Varun D

Jira Cloud Support Team

0 votes
Seifallah Bellassoued
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.
December 7, 2022

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, 

Dima Novik December 7, 2022

Thank you for reply. Still no result.list.png JSON 1_@.pngJSON 1.png

Seifallah Bellassoued
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.
December 7, 2022

You need to add the "Epic link" field on the create sceen of Story

Seifallah Bellassoued
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.
December 7, 2022

@Dima Novik

are you sure that your project is a software project?

Dima Novik December 7, 2022

No. That was business project. And seems like that was the issue 

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events