How can I add 1 task (duplicate not mulithome) to multiple projects in one go?

Hello helpful forum members!
I need to add a tasks to over 180 projects and I’d like to do this in one go rather than one project at a time. What’s the best way to do this please?

Bundles function would have been great in this instance, perhaps one for the development team to consider.

I can’t think of a way interactively, but you could use the API via 180 curl lines in a script to execute, if you have the ability to to do that.

A CSV import could help, but there’s no facility to specify the destination project in the import file (but you could get 180 tasks created at least).

Sorry,

Larry

1 Like

Hi Larry, I’m not sure I understand or have the ability to do this bit … ‘API via 180 curl lines in a script …’ :thinking::joy: so I think the only option for me is to add one task to each project at a time :scream:

Thanks for answering my query though :raised_hands:
Gillian

1 Like

Hi @Gillian_French ,
Adding onto @lpb suggestion.
You can look into using the Asana Batch API
The Batch API would allow you to make 10 requests in one go. As such essentially you would have to make 18 curl calls.
Although you could use a simple for loop in your bash script to boil down your code to around 5 - 10 lines

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.