Finding how many times to paginate task search results

There’s no way to know the exact count of results before fetching them.

The only count available, is the number of tasks (active, inactive, total) by project.

So, if you look for all tasks of 1 project, and you need a progressbar or something like that, you can estimate the number of total tasks on that project, as described here.

New endpoint: project task counts - Developers & API / Platform News - Asana Community Forum

But, if you search, for example, for tasks assigned to 1 specific user in that project, you have no idea how many results you will get, using any endpoint.

1 Like