Bitbucket Cloud issues in VS Code

Still need help?

The Atlassian Community is here for you.

Ask the community

robotsnoindex

Within the Atlassian sidebar, the VS Code extension provides a tree view displaying the Bitbucket pull requests, pipelines, and issues of each repository connected to your current Bitbucket account. 

The tree views can be disabled/enabled from Atlassian Settings. You can also configure how often the tree views auto-refresh and the frequency of new pull request notifications. You can also manually refresh the tree views at any time by clicking the refresh icon refresh icon on each tree view's title bar.


View Bitbucket Cloud issues in VS Code

  1. Select the Atlassian logo on the leftmost sidebar. This opens the Atlassian sidebar which displays any Jira issues and Bitbucket pull requests, pipelines, and issues connected to your current Bitbucket or Jira account. These panels should be displayed by default; if not, click on the title bar of each to open and display any issues, pull requests or pipelines.

  2. Clicking on any issue in the issue tree will bring up the Issue Details screen which can be used to view and edit issues. These functions are covered in the next section: View and Modify Bitbucket Issue details

View and modify Bitbucket issue details

To open the issue details screen for a Bitbucket issue, click on the issue in the Bitbucket Issues list.

The issue details screen

The issue details screen provides details about an issue as well as the ability to comment on the issue, change the issue status, assign the issue to yourself, and 'start work on an issue'.

Create Bitbucket Cloud issues from VS Code

  1. To create a new Bitbucket issue, you can either use the Create Bitbucket Issue option from the command palette or you can use the + button on the Bitbucket Issues tree.
  2. Fill out the fields as needed and click the Submit button to create the issue.

From the command palette

  1. Open the command palette by executing the following Atlassian: Open Settings command: Command + Shift + P (on Mac) or Ctrl + Shift + P (on PC) and search for Create Bitbucket issue.
  2. From the command palette: choose the Atlassian: Create Bitbucket Issue command.
  3. Fill in or update any fields on the Create issue form.
  4. Click the Submit button in the lower-right corner.

From the Bitbucket issues tree

  1. Click on the Atlassian logo on the leftmost navigation bar.
  2. Click on the BITBUCKET ISSUES heading on the Atlassian status bar.
  3. Click on the + in the upper-right corner.
  4. Click on Create Bitbucket Issue.
  5. Fill in or update any fields on the Create issue form.
  6. Click the Submit button in the lower-right corner.

Once the issue is created, the Issue Details screen for it will be opened up in VS Code.

Notifications will also appear in VS Code for everyone that has the repository connected to their workspace.


Work with Bitbucket Cloud issues

The Start work on issue feature performs all the steps required in Bitbucket so you can start coding:

  • Assign the issue to yourself

  • Create a new branch for the issue, containing the issue key and branch name

  • Checkout the new branch locally and link it to the remote repository branch

To use the feature:

  1. Open a Bitbucket issue.

  2. Double-click on an issue to open it.

  3. Click on the Start work on issue button.

  4. Check the Source and Local branches are accurate. You can change them by clicking the drop-down.
  5. Click Start to assign the issue to yourself and switch to the new local branch.

Last modified on Jun 24, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.