- In PhpStorm
Tools > Tasks & Content > Configure servers
. - Add Server type
Generic
.
- Server URL:
https://api.bitbucket.org/2.0/repositories/*YOUR LOGIN*/*REPO_NAME*
. - Fill Username and Password.
- Put a tick in the Use HTTP authentication.
- Put a tick in the Add commit message.
#{id} {summary}
When commiting ID will be set tasks.
- Tasks List URL:
{serverUrl}/issues?q=state=%22new%22&sort=-priority
.- URL in decoded format looks like this:
/issues?q=state="new"&sort=-priority
- Other filter/sort options you can find here.
- URL in decoded format looks like this:
- Single Task URL:
{serverUrl}/issues/{id}
. - Response Type:
JSON
. - Fill the data table like this:
Name | Path |
---|---|
tasks | values[*] |
id | id |
summary | title |
description | |
updated | |
created | |
closed | |
issueUrl | |
singleTask-id | id |
singleTask-summary | title |
singleTask-description | content.raw |
singleTask-updated | updated_on |
singleTask-created | created_on |
singleTask-closed | |
singleTask-issueUrl | links.self.href |