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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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 Champions.
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.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events