Automation to create Tasks and Sub-Tasks of the new task

Tom N Scoggin Jr February 8, 2023

I have an automation that creates child tasks to the triggering task. The problem is that one of the child tasks needs to have 4 sub-tasks. I tried to do it in a single automation by using a "Branch rule / related issues" but it does not create the sub-task to the child task. 

Does the creation of the Child task need to be after the "Branch rule / related issues" to be able to create the Child Sub-Tasks?

I also tried to do it in two automations but the sub-tasks were not created after the Child was created. Not sure if that has to do with it being an automation.

Does anyone have experience with this?

 

3 answers

1 accepted

0 votes
Answer accepted
Tom N Scoggin Jr February 8, 2023

Turns out I was using the wrong "Type of related issues" in the "Branch rule / related issues". I needed to use Most recently created issue" to get it to work.

0 votes
Dolores Rhyme
Contributor
September 14, 2023

I apologize for a silly question: but you mean you create sub-tasks in Jira from Confluence? Because as far as I know Confluence doesn't have sub-tasks. Or I missed something...

Tom Scoggin
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.
September 15, 2023

I don't do it from Confluence. But you can create tasks and sub-tasks to those tasks in one automation in Jira. You would set an automation to create a task when a requirement is met. Then you use the Branch action that applies to all recently created tasks and create new tasks under that.

Capture.PNG

0 votes
Rob Horan
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.
February 8, 2023

I have done this with two rules.  The first rule creates the child task.  Then a second rule creates the subtasks, and I use the check box that allows a rule to trigger another rule.

Suggest an answer

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

Atlassian Community Events