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: Create subtasks from a list os 20 locations

Steve Krawcke
May 9, 2024

I have a list of 20 locations that I need to check once a quarter 

I create the task then I want one sub task for each location 

is there a way to feed automation the list or do I need to "Create sub-tasks" -> "sub-task" for each location?

 I do the the locations in Assets but I see that automation using assets are not available yet? image (2).png

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Mikael Sandberg
Community Champion
May 9, 2024

Yes, it is possible and assets do have actions in automation that you can use, one of them being lookup objects that you can use in order to create your automation. You can then use the advanced branching to iterate over the returned objects to create a sub-task for each one. It would look something like this:

Screenshot 2024-05-09 at 12.43.01 PM.png

Note that is a simplified example, I would consider moving the creation of the sub-tasks to its own automation that you are triggering from the one that creates the task and also add conditions that checks the size of the lookup object to make sure it returns data.

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

Atlassian Community Events