Connecting Asana with Intellij/PHPStorm

tschallacka

Tschallacka

Posted on November 10, 2021

Connecting Asana with Intellij/PHPStorm

Press CTRL + ALT + S or go to File > Settings

Go to Tools > Tasks > Servers and press the small plus icon at the top.

Settings menu

Select Asana in the dropdown menu

Selection 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

Create 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 access token

Copy the access token to the username field. Keep the password field empty

Check the "Use HTTP authentication" checkbox

Use http authentication

Click on the "Server Configuration" Tab.

Server Configuration

Make sure your tasks lists url is

{serverUrl}/projects/{project_ID}/tasks?workspaces=WORKSPACE_ID
Enter fullscreen mode Exit fullscreen mode

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.

Workspace ID

And your Single Task URL is

{serverUrl}/tasks/{id}
Enter fullscreen mode Exit fullscreen mode

Change the value for id from id to gid

Change to GID

And the value of singleTask-id from data.id to data.gid

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

Open task

Opening this window will open a screen with all the asana tasks. You can also browse your tasks via Tools > Tasks & Contents

💖 💪 🙅 🚩
tschallacka
Tschallacka

Posted on November 10, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related