Skip to content

Instantly share code, notes, and snippets.

@misaon
Last active April 26, 2020 14:05
Show Gist options
  • Save misaon/2d5614dda5c87a1cdfffbf00ed7e21e7 to your computer and use it in GitHub Desktop.
Save misaon/2d5614dda5c87a1cdfffbf00ed7e21e7 to your computer and use it in GitHub Desktop.
Config Bitbucket issue tracker in PhpStorm

How config PhpStorm for work with BitBucket issue tracker?

  • In PhpStorm Tools > Tasks & Content > Configure servers.
  • Add Server type Generic.

Tab: General

  • 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.

Tab: Commit Message

  • Put a tick in the Add commit message.
  • #{id} {summary} When commiting ID will be set tasks.

Tab: Server Configuration

  • 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.
  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment