Skip to content

Conversation

eudevkola
Copy link

Working AsanaSource able to retrieve tasks.

Requirements:

  • Asana token ASANA_TOKEN
  • Asana project id ASANA_PROJECT_ID

Here is an example dump of what the source will retrieve into the local file.

==================================================
ASANA TASK INFORMATION
Task ID: 1211615961194403
Name: Fill out Department of Transportation Form
Notes: just going to get my drivers license. 
Status: Incomplete
Created: 2025-10-11T05:33:46.065Z
Modified: 2025-10-12T17:28:34.130Z
Due Date: 2025-10-15
Start Date: None

How to use:

AsanaSource.set_access_token(asana_token)
assignee_fields = [
            "name", "notes", "assignee", "assignee.name", "completed", 
            "created_at", "modified_at", "due_on", "start_on", "projects", 
            "projects.name", "tags", "tags.name", "custom_fields", 
            "custom_fields.name", "custom_fields.display_value", 
            "dependencies", "dependencies.name", "num_subtasks", "permalink_url"
]
AsanaSource.set_fields(assignee_fields)
source = AsanaSource(project_id=asana_project_id)

@eudevkola eudevkola changed the base branch from main to develop October 13, 2025 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants