Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't checkout pull requests in vscode

Deleted user September 29, 2021

Having the Atlassian vscode extension installed, I can't view PRs in the explorer and even though I can open them using the "Open in VSCode" I cannot checkout the branch getting this message. Any hints please?

2021-09-30 09_18_12-Pull Request 1057 - SPACE_UI (Workspace) - Visual Studio Code.png

2021-09-30 09_16_19-Pull Request 1057 - SPACE_UI (Workspace) - Visual Studio Code.png

1 answer

0 votes
Nick Rundquist
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 4, 2021

The "no workspace repo" error is a little misleading. VS Code will open the PR review tab in the frontmost open window. If that window isn't associated with a folder containing the Git repo associated with the PR checking out the branch will fail with that error.

Regarding there being no pull requests showing, my first guess would just be that there are no open PRs in the Bitbucket repository. If there are open PRs you can check to see if there are any errors being logged

  • Open the settings for VS Code and search “output level”, there will probably be a few results, one of them should be “Atlassian” in the “Extensions” section.

  • Set the output level to “debug”.

  • If you don’t already have a terminal open in VS Code, select New Terminal from the Terminal menu.

  • Select the “Output” tab in the terminal”.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events