Get task progress for all projects

I’m using https://app.asana.com/api/1.0/projects? to get all my projects info.

But I need the Task Progress info for all projects. The way I solve this is using /task_count method for each project.

I’d like to know if there’s a way to get task progress for all projects with only 1 request, instead of send a request for each projetct.

Thanks

Hi @Breno_Almeida_Esteve and welcome to the forum,

FYI I moved your post to the English Forum > Developers & API forum section.

Can you provide some more detail as to what you mean by “task progress info”? There isn’t a specific Asana data item by that name, so I’m just wanting to be able to map your request to the Asana data objects that would correspond to it so we can give you a good answer.

Maybe it’s the column in Portfolios:

Hi all!

@lpb is right, this is exactly what I want. I’m current manually calculating it using num_completed_tasks/num_tasks that I get using task_count method.

Thanks in advance

1 Like

Got it (and thanks @lpb). There’s no way to get that data for multiple projects with one API call. The best you can do is to batch multiple requests using the Batch API - you’re still doing one request per project, but you can do a batch of them simultaneously.

4 Likes

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