The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Jira automation - Multiple layers of issues in 1 rule

Chris F
Contributor
May 9, 2023

Hi team,

I'm trying to set up the automatic creation of issues within Jira that would act as a 'service onboarding' checklist. In theory it would work something like:

If an Outcome is created (custom issue type above Epic/Feature)

Then create 4 Epics

For each of those epics

Create 3 Stories/Tasks

 

I've tried experimenting with a few options to have this all work in 1 rule but I haven't been successful. I could split this off into 2 rules but I was hoping to keep things neat.

 

Any guidance/help is appreciated.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

4 votes
Answer accepted
JM Perrot
Community Champion
May 9, 2023

Hello @Chris F 

If the most important thing for you is to keep it in one rule, you can sequence your rule this way:

  • When an outcome is created
  • Then create 1 Epic
  • For the most recently created issue
    •    -Then Create a story
    •    -Then Create a story
    •    -Then Create a story
  • Then create 1 Epic
  • For the most recently created issue
    •    -Then Create a story
    •    -Then Create a story
    •    -Then Create a story

etc...

I hope this can be useful, let me know if it's the case :)

Bests,

JM

Chris F
Contributor
May 10, 2023

Brilliant, thanks @JM Perrot

For any future readers who are trying this and are wondering how to then link the Epic to the Story I had to create a Variable that captured the Epic's issue key and then use that as the value for the 'Epic Link' on the Story.

 

Like JM Perrot likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events