Press CTRL + ALT + S or go to File > Settings
Go to Tools > Tasks > Servers and press the small plus icon at the top.
Select Asana in the dropdown menu
In the bottom form fields will appear.
Fill in for Server url: https://app.asana.com/api/1.0
Fill in for project ID the project ID in the url when you look at your dashboard.
https://app.asana.com/0/000_PROJECT_ID_000
Copy and paste that in the Project ID field.
Visit https://app.asana.com/0/my-apps
Click on new Access Token
Enter a handy name for yourself so you know what you're using the token for(for example phpstorm)
Copy the token generated, and store it in a password manager like keepass, for when you need it again.
Copy the access token to the username field. Keep the password field empty
Check the "Use HTTP authentication" checkbox
Click on the "Server Configuration" Tab.
Make sure your tasks lists url is
{serverUrl}/projects/{project_ID}/tasks?workspaces=WORKSPACE_ID
You can retrieve WORKSPACE_ID
from https://app.asana.com/api/1.0/users/me and then use the value in gid
in the workspaces object.
And your Single Task URL is
{serverUrl}/tasks/{id}
Change the value for id from id
to gid
And the value of singleTask-id from data.id
to data.gid
And the value of singleTask-issueUrl from to
data.permalink_url
Click on Test Connection, and everything should go smoothly.
A new dropdown will appear in the top right, where you can select open task
Opening this window will open a screen with all the asana tasks. You can also browse your tasks via Tools > Tasks & Contents
Top comments (1)
Thanks, I didn't know this was possible! However, the parameters assignee and workspaces are not valid anymore, I believe. I had to omit them