Add tasks to Asana using Hubot.
Add hubot-asana
to your package.json
file:
"dependencies": {
"hubot": ">= 2.5.1",
"hubot-scripts": ">= 2.4.2",
"hubot-asana": ">= 0.0.0"
}
Then add "hubot-asana" to your external-scripts.json
file:
["hubot-asana"]
Finally, run npm install hubot-asana
and you're done!
- ASANA_WORKSPACE_ID - Your workspace's ID.
- ASANA_TEAM_ID - Your team's ID.
- ASANA_DEFAULT_PROJECT_ID - Your default project's ID.
- ASANA_DEFAULT_PROJECT_NAME - Your default project's name.
A task added to Asana must have a name. Both an assignee and a project are optional. Some examples:
asana: ship some code
asana: ship some code #bugs
asana: @travis ship some code
asana: @steve ship some code #bugs