Skip to main content

Overview

Exports Asana projects along with their resources such as tasks, stories and attachments and saves as json in a tree structure making it easy to query with tools like jq and import into other tools like Jira.

Install

From pypi:

sudo apt install python3-pip
pip install asana-exporter

From snap:

sudo snap install asana-exporter

From source:

sudo apt install python3-pip
pip install -r requirements.txt

Usage

The first action is to extract information from Asana using the API. To do this you will need to generate a Personal Access Token from the web UI - see https://developers.asana.com/docs/personal-access-token for instructions on how to do this.

Once you have a token, run this tool as follows to extract data. A team name and workspace are required (see https://developers.asana.com/docs/workspaces - this is usually your organisation name). Projects are extracted in the context of a team. You can extract multiple teams' projects into the same archive by running the tool multiple times with different teams.

If you want to start by getting a list of available teams you can do:

asana-exporter --token TOKEN --workspace WORKSPACE --export-path EXPORT_PATH --list-teams

Now you can choose a team and extract all of its projects:

asana-exporter --token TOKEN --workspace WORKSPACE --export-path EXPORT_PATH --team TEAM

If you do not want all projects you can filter project names:

asana-exporter --token TOKEN --workspace WORKSPACE --export-path EXPORT_PATH --team TEAM --project-filter "My\s+.+roject"

Once complete, your data will be under EXPORT_PATH and you can query it e.g.

List all teams found:

asana-exporter --export-path EXPORT_PATH --list-teams

List all extracted projects for a given team:

asana-exporter --token TOKEN --workspace WORKSPACE --export-path EXPORT_PATH --team "My Team" --list-projects

List all extracted tasks for a given project:

asana-exporter --token TOKEN --workspace WORKSPACE --export-path EXPORT_PATH --team "My Team" --list-project-tasks "My Project"

Metadata

Release files for asana-exporter 1.0.0.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asana-exporter 1.0.0.post1
File Size Uploaded
asana-exporter-1.0.0.post1.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for asana-exporter 1.0.0.post1
File Interpreter ABI Platform
asana_exporter-1.0.0.post1-py3-none-any.whl Python 3 none any Details

Total release size: 17.3 kB

Release files / asana-exporter-1.0.0.post1.tar.gz

Download URL asana-exporter-1.0.0.post1.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
18bb1af6f0c7ad1f0d5c195973260174fac51c05079f2bcf72be28a328ed3914
BLAKE2b-256 checksum
How to use checksums
419b7def2fdeda1daef50207c3a9c3adf20d0528d6fb631aef3e0a4b340aeb91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / asana_exporter-1.0.0.post1-py3-none-any.whl

Download URL asana_exporter-1.0.0.post1-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b81aa0898293c40d7dc43f4b3159c45bf92b4f46a7b48ad0c3a6b1f8c8bd564b
BLAKE2b-256 checksum
How to use checksums
3cfeda72456e07ce58ab1359577056b37d7ea5313b184f434198c73bd15e40d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

1.0.0.post1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page