Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,507
Community Members
 
Community Events
176
Community Groups

Multiple stories in one epic

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 Dec 07, 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 

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

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

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, 

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

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

@Dima Novik

are you sure that your project is a software project?

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
Site Admin
TAGS

Atlassian Community Events