Scripts that Setup:
- Get a personal access token
- Set an environment variable:
export ASANA_ACCESS_TOKEN='<accesstoken>'
Define a task title & body, create copies of that task in multiple 1 on 1 projects.
Options:
- prompt user for task title & description
- add task to all projects, to all projects for a given team, or prompt the user to add to each project
- assign to me, to other member of 1:1 project, or to no one
Usage: Create a file called oneononeprojects.py that contains an array of objects in this format:
projects = [
{ 'name': 'KateTest', #user-friendly name
'id': '<projectId>', # string, project id
'userid': '<userEmail>', # string, email address of the other user who should be assigned tasks in this project
'team': 'self'}, # team name. matches list of teams defined in oneonone.py
]
Quick Start: https://asana.com/developers/documentation/getting-started/quick-start
python library: https://github.com/Asana/python-asana/
Documentation: https://asana.com/developers/api-reference/tasks#create
New website: