Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to connect Asana from PHPStorm?

Tags:

phpstorm

asana

I am using PHPStorm 8.0.2

Adding server:

Tools > Task & Context > Configure server.

Based on https://asana.com/developers/documentation/getting-started/authentication#sts=API%20Keys .

Always getting 403, does anyone tried to connect this from PHPStorm?

like image 739
Codium Avatar asked Dec 13 '14 20:12

Codium


People also ask

How do I run PhpStorm on a remote server?

If you already have PhpStorm installed on your remote server, you can launch it manually and connect to the remote project started in that IDE. It works the same way as from JetBrains Gateway. Use this approach if your company has a custom orchestration or in case your remote IDE starts automatically on its side.

What can I do with Adobe asana?

See Asana tasks, get feedback, and more right from your Adobe apps. For time management. Add your Asana tasks to your calendar to see deadlines. For time tracking. Track time to record billable hours and create invoices in Asana. For file sharing. Attach files from Dropbox to Asana tasks from the Asana task pane. For communication.

Where can I find the PhpStorm plugin?

By default, the downloaded PhpStorm instances are located in the following directory: (where PROJECT_PATH is a path to your remote project and pluginId is an ID you got from the JetBrains Marketplace page.) After the installation, unpack the downloaded plugin's archive.

How do I test the connection to the database in PhpStorm?

To ensure that the connection to the data source is successful, click the Test Connection link. If you run PhpStorm on Windows in the same domain as the Microsoft SQL Server database, you can use the Single-Sign On (SSO). In the Database tool window ( View | Tool Windows | Database ), click the Data Source Properties icon .


3 Answers

Update 2020 - after last Asana changes task id parametrer must be changed from "id" to "gid" Server Configuration

like image 166
procek Avatar answered Oct 24 '22 15:10

procek


If you need to connect to the project in asana, in the beginning do as described above

1) Personal Access Token and use that as your Username in the Servers configuration in PHPStorm 2) Project ID comes from the URL if your within the Project (the first long number)

3.a) In phpStorm change "Task List URL"

with "{serverUrl}/projects/{project_ID}/tasks?assignee=me"

to {serverUrl}/projects/{project_ID}/tasks

If you want to work with "Personal Tasks"

3.b) In phpStorm change "Task List URL"

{serverUrl}tasks?workspace=[workspace_id]&assignee=me

[workspace_id] get here https://app.asana.com/api/1.0/users/me

like image 24
Farkhod Daniyarov Avatar answered Oct 24 '22 15:10

Farkhod Daniyarov


Edit 15.06.2017: The Url's have changed, so if you get a "Bad Request" with seamingly correct settings, check the Task-list urls from this answer

Here´s what worked for me based on https://youtrack.jetbrains.com/issue/WI-19852 from LazyOne´s comment

1) get a API key Personal Access Token and use that as your Username in the Servers configuration in PHPStorm

2) Project ID comes from the URL if your within the Project (the first long number)

3) Password is your Account Password

Edit 15.07.2016: Asana deprecates the API keys in favor of the personal Access tokens. But with that it works the same way.

like image 33
Jonas Krispin Avatar answered Oct 24 '22 16:10

Jonas Krispin