Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

Creating automatic issues with subtasks

W Abood November 16, 2023

Hello,

 

I created an automation to create a set up standard subtasks every time an issue in a specific project is created. This works very well but there are 40 subtasks and I would like to break it down more by having the main issue with 5 linked issues that have their own set of subtasks. I've tried using branching but I cannot nest them. Is there another way to accomplish what I am trying.

 

Thank you

 

2 answers

2 accepted

1 vote
Answer accepted
Mathew Lederman
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.
November 16, 2023

@W Abood unfortunately Jira does not allow you to create subtasks under subtasks, so you'll have to use a different issue type for the 1 main and 5 linked. You may be doing this already, it's not very clear.

For creating the appropriate nesting, you'll have to perform multiple automations that are dependent on the first. Example: 1 Epic > 5 Stories > 34 sub-tasks. You'll need to build automation something like this:

  • The 1 Epic will trigger the creation of 5 stories
  • Each story will trigger the creation of 7 subtasks

This will create the appropriate nesting while keeping all of the creation in automation.

W Abood November 17, 2023

Thank you for the answer. I tried your suggestion and it worked well.

0 votes
Answer accepted
Bill Sheboy
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.
November 16, 2023

Hi @W Abood 

With that many subtasks to create, you have a couple of options...

  1. Create one rule, triggered on your issue create, and add one of your linked issues, immediately followed by adding all the subtasks in one action
  2. Create 5 rules, each one triggered on the original issue create, and have each add their own subtasks

For the first method, try using branches to the most-recently-created issue, like this:

  • trigger: issue created
  • action: re-fetch issue
  • condition: you probably have conditions to decide when to add the other issues
  • action: create your first issue, linked to the trigger issue
  • branch: on most recently created issue
    • action: add all the child subtasks in one step for this issue
  • action: create your second issue, linked to the trigger issue
  • branch: on most recently created issue
    • action: add all the child subtasks in one step for this issue
  • and so forth

 

Kind regards,
Bill

W Abood November 17, 2023

Thank you for the response. I will try your method as well. 

Like Bill Sheboy likes this

Suggest an answer

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

Upcoming Jira Events