Forums

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

How to generate automatically linked tasks and subtasks when creating an epic?

Benjamin Locher June 20, 2024

Hi all 

I'd like to to automise the following process: 

If I create an epic and set the value of a custom field [Generate CR] on a certain status [General], several [6] linked tasks should be generated. 

Two of those six tasks should also contain several linked subtasks [not defined how many yet]. 

Now my automation works so far, that all tasks are generated and linked to the specific epic. 

But I cannot make it work to get the substasks created and linked to the specific task. 

How can I fix this automation?

I'd prefere to have it in one automation and not an additional one. 

Below some screen shots: 

image.pngimage.pngimage.pngimage.pngimage.pngimage.pngimage.png

Thanks a lot for your support. 

Cheers

1 answer

0 votes
Phil Arnold June 21, 2024

Hi, 

 

I have done something similar and they way it works for me is to select the field "Parent" on your Create Task step in the automation:

create task.png

I then set the field like so:

create task 2.png

Benjamin Locher June 21, 2024

Hi Phil 

Thanks for your comment. 

To clarify: the automation works for the tasks but not for the subtasks. 

I've now added a branch and it was possible to generate the subtask automatically. 

The only thing what not works is to link subtask to the task. 

image.png

Cheers

Phil Arnold June 21, 2024

ah, I understand.

If you want to name your subtasks differently for each task then give this a try:

create task 3.png

else, you could create subtasks at the end of your automation using something like this:

create task 4.png

create task 5.png

Benjamin Locher June 21, 2024

Great, now it works. 

Thanks a lot. 

Like Phil Arnold likes this
Phil Arnold July 3, 2024

Great stuff, glad it works for you

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