# Export all tasks from multiple projects from 1 single team

**URL:** <https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873>\
**Category:** API & Developers\
**Tags:** import-export\
**Created:** [8 January 2019 20:49 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873 "2019-01-08T20:49:43Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jon7](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/jon7/32/27224_2.png) [@Jon7](https://forum.asana.com/u/Jon7)\
**Post date:** [8 January 2019 20:49 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/1 "2019-01-08T20:49:43Z")

</div>

Hello,

Please excuse me if this question has already been asked on the forum, I was unable to find one that specifically answers my question. I am wondering if anyone here has successfully written a python script to run a scheduled export of all their tasks from a specific TEAM (my team has many projects). Ideally, I would want this script to export out all tasks from all projects into a CSV file that will be later picked up for further ETL work. I have found examples of scripts that exports all tasks from a workspace, but none from a specific TEAM. The reason why I need this is because my asana workspace houses 1000+ teams, but I am only interested in programmatically exporting out tasks from my team.

Thanks!  
Jon

---

<div class="post-metadata">

**Author:** ![Bastien\_Siebman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/bastien_siebman/32/172354_2.png) [@Bastien\_Siebman](https://forum.asana.com/u/Bastien_Siebman)\
**Post date:** [9 January 2019 06:48 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/2 "2019-01-09T06:48:29Z")

</div>

> [@Jon7](#):
>
> I have found examples of scripts that exports all tasks from a workspace

If you share the code here, I’ll be able to point you in the right direction (I hope!)

---

<div class="post-metadata">

**Author:** ![Jon7](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/jon7/32/27224_2.png) [@Jon7](https://forum.asana.com/u/Jon7)\
**Post date:** [9 January 2019 17:28 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/3 "2019-01-09T17:28:15Z")

</div>

Hi Bastien!

Here is the link to the code (credits to Paul Saluten):

> **[Export All Your Asana Tasks - tech.surveypoint.com](https://tech.surveypoint.com/posts/export-all-your-asana-tasks/)**
>
> Asana is a great task manager for individuals and teams. I’ve used it on the job, to help me track new issues. The main feature I miss is the ability to save all your tasks to a local file. Asana’s built-in export truncates the output at 500 records....

FYI my workspace is so large it will not be possible to export everything out. I just need it for my team! Thanks in advance for your guidance.

---

<div class="post-metadata">

**Author:** ![KatherineH](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/katherineh/32/27285_2.png) [@KatherineH](https://forum.asana.com/u/KatherineH)\
**Post date:** [9 January 2019 18:14 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/4 "2019-01-09T18:14:58Z")

</div>

Hi Jon

I came across this as I have just done exactly the same thing using the same script. To get all projects in my team I amended the ‘all\_projects’ bit of the code as follows. You just need to replace ‘team\_id’ with your team’s id:

```
team_projects = client.projects.find_all({'team': 'team_id'})
db_list = []
    for project in team_projects:
        print(project['name'])
        db_list.extend(process_project_tasks(client, project, ws_dict))

```

I hope this helps.

On a related note, could someone tell me what the limitations are (if any) in the amount of data than can be exported using this script?

---

<div class="post-metadata">

**Author:** ![Jon7](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/jon7/32/27224_2.png) [@Jon7](https://forum.asana.com/u/Jon7)\
**Post date:** [9 January 2019 19:00 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/5 "2019-01-09T19:00:07Z")

</div>

> [@KatherineH](#):
>
> team\_projects = client.projects.find\_all({‘team’: ‘team\_id’}) db\_list = for project in team\_projects: print(project[‘name’]) db\_list.

Hi Katherine,

This is exactly what I needed. Thank you!!!

---

<div class="post-metadata">

**Author:** ![KatherineH](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/katherineh/32/27285_2.png) [@KatherineH](https://forum.asana.com/u/KatherineH)\
**Post date:** [10 January 2019 10:59 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/6 "2019-01-10T10:59:51Z")

</div>

You are very welcome! 😄

If somebody - perhaps @Bastien_Siebman? - could answer my query about whether there is a maximum number of tasks that can be exported using this script (and if so what the maximum number is) that would be greatly appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![Phil\_Seeman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/phil_seeman/32/81525_2.png) [@Phil\_Seeman](https://forum.asana.com/u/Phil_Seeman)\
**Post date:** [10 January 2019 14:58 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/7 "2019-01-10T14:58:39Z")

</div>

Hi @KatherineH,

It doesn’t appear there is a limit. According to the text, he wrote this code specifically because he was hitting a limit with the Asana export and wanted to get around that limit. And while I didn’t dig into the actual code (I’m a C# guy myself), he describes using Asana’s paging mechanism to retrieve tasks, which is exactly what you’d use when you wanted to get all of the data.

---

<div class="post-metadata">

**Author:** ![KatherineH](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/katherineh/32/27285_2.png) [@KatherineH](https://forum.asana.com/u/KatherineH)\
**Post date:** [10 January 2019 15:58 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/8 "2019-01-10T15:58:26Z")

</div>

Hi Phil,  
That’s brilliant, thanks very much for your response!

---

<div class="post-metadata">

**Author:** ![Jon7](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/jon7/32/27224_2.png) [@Jon7](https://forum.asana.com/u/Jon7)\
**Post date:** [12 January 2019 00:22 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/11 "2019-01-12T00:22:45Z")

</div>

Hi Katherine! I was looking through stackoverflow and I saw you posted your solution to exporting tags on this same code.

> <https://stackoverflow.com/questions/54063357/exporting-asana-tasks-to-csv-via-pypis-asana-api-module>

I tried to implement your snipped of code to add tags but I am still unable to export out my tags, just only the header. I was wondering if you could help me find out what I am missing? Am I doing something wrong in the CSV\_OUT\_HEADER or during the process\_project\_tasks??

I’ve attached is an image of

 ![asana_export_forum](https://us1.discourse-cdn.com/asana/original/3X/a/f/af7e0910bfdcd143266050f093fe98234d7b395e.png) my code.

---

<div class="post-metadata">

**Author:** ![Jon7](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/jon7/32/27224_2.png) [@Jon7](https://forum.asana.com/u/Jon7)\
**Post date:** [12 January 2019 01:07 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/12 "2019-01-12T01:07:19Z")

</div>

I’ve figured it out, thank you!

---

<div class="post-metadata">

**Author:** ![KatherineH](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/katherineh/32/27285_2.png) [@KatherineH](https://forum.asana.com/u/KatherineH)\
**Post date:** [12 January 2019 15:50 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/13 "2019-01-12T15:50:52Z")

</div>

Hi Jon - really sorry only just seen this. Glad you figured it out!

---

<div class="post-metadata">

**Author:** ![Daniel\_Raymond](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/daniel_raymond/32/2721_2.png) [@Daniel\_Raymond](https://forum.asana.com/u/Daniel_Raymond)\
**Post date:** [15 January 2019 12:05 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/14 "2019-01-15T12:05:49Z")

</div>

The easiest way is to use [Bridge24 for Asana](https://bridge24.com/asana/). You can export all tasks (Excel and CSV) from multiple projects from a single team. No need to implement with a script.

---

<div class="post-metadata">

**Author:** ![Mudit](https://luna1.co/8d76cd.png) [@Mudit](https://forum.asana.com/u/Mudit)\
**Post date:** [9 May 2019 06:43 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/15 "2019-05-09T06:43:06Z")

</div>

Thanks, i was looking for the script and works pretty well. My question is how do i use it to include Sub-tasks as well in the export?

---

<div class="post-metadata">

**Author:** ![anon41335948](https://luna1.co/8d76cd.png) [@anon41335948](https://forum.asana.com/u/anon41335948)\
**Post date:** [26 October 2020 13:34 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/16 "2020-10-26T13:34:43Z")

</div>

Are there any no cost alternatives?

---

<div class="post-metadata">

**Author:** ![Vysokih](https://luna1.co/8d76cd.png) [@Vysokih](https://forum.asana.com/u/Vysokih)\
**Post date:** [12 November 2020 12:15 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/17 "2020-11-12T12:15:21Z")

</div>

Hello, everyone.  
Please excuse me if I’m not writing in the required forum topic. I have very little experience in programming. Trying to export all Asano tasks according to @Jon7. Immediately faced with the inability to download and add the official asana API module from the Python package index (PyPI) - screenshot attached. Please help us implement the above procedure.

 ![2020-11-12_14-51-26](https://us1.discourse-cdn.com/asana/original/3X/2/3/23269900e75c5e17f76771b7032337ef072bda56.png)

---

<div class="post-metadata">

**Author:** ![Bastien\_Siebman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/bastien_siebman/32/172354_2.png) [@Bastien\_Siebman](https://forum.asana.com/u/Bastien_Siebman)\
**Post date:** [14 November 2020 09:30 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/18 "2020-11-14T09:30:06Z")

</div>

I believe you should create a dedicated thread or a private discussion about this so we can help without notifying everyone

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/system/32/276370_2.png) [@system](https://forum.asana.com/u/system)\
**Post date:** [30 May 2025 19:03 UTC](https://forum.asana.com/t/export-all-tasks-from-multiple-projects-from-1-single-team/38873/19 "2025-05-30T19:03:34Z")

</div>


