Jira automation - Multiple layers of issues in 1 rule

Chris F 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

4 votes
Answer accepted
JM Perrot
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 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

Suggest an answer

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

Atlassian Community Events