Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I query archived tasks in Asana via their API

Tags:

asana

I am interested in exporting data from Asana so we can run reports off of it. To do this, I will need to get a list of all tasks, including those archived. My understanding of the API that lists tasks is that if the task is archived, it will not be retrieved when getting tasks for a project. Is there a way to query all tasks, regardless if they are archived?

like image 690
Jepthy Avatar asked Jun 20 '12 22:06

Jepthy


2 Answers

There was already such question. According to Asana API there is no such opportunity. To ask why, you should ask Asana support team.

like image 193
Sergei Danielian Avatar answered Oct 16 '22 09:10

Sergei Danielian


Archived tasks can be accessed by including the parameter ?include_archived=true in your request for querying tasks by project.

Task section in Asana documentation

like image 29
cabe56 Avatar answered Oct 16 '22 08:10

cabe56