Can't create or read pull requests using new VS Code integration

Issue #217 resolved
Shai Ben Tovim created an issue

Hi,

Using VS Code: 1.38.1,

OS X: 10.14.6

Atlassian for VS Code: 2.0.2 (installed from extensions marketplace)

Since ver 2.X of the extensions was installed I cannot create pull requests from VS code:

I get this error on top of the page (see also attached image):

Something went wrong
Cannot read property 'account_id' of undefined

When I try to read details of a Pull Request created by a team member I also get an error and cannot view the PR page in VS code.

What I've tried:

  • logout and log back into Atlassian using the extension settings panel - looks like I’m logged in (code push/pull is working) and the bottom status bar shows me logged in to both Jira and bitbucket
  • Uninstall the extension and install again.

This has been working perfectly for months since a few days ago when the new extension vision was upgraded automatically!

Comments (10)

  1. Pramod Busam Account Deactivated

    Hi @Shai Ben Tovim,

    It looks like something went wrong during the migration process from v1 to v2 of the extension. Could you try the following?

    • Delete the Bitbucket Cloud entry in the extension's settings screen (in Bitbucket -> Authentication section)
    • Click Login to Bitbucket Cloud button on the same screen to authenticate again
  2. Pramod Busam Account Deactivated

    @Shai Ben Tovim @Giuliano Stravini I tried the same steps (deleting the entry from settings and adding again) and I was not able to reproduce it. Could you try the following and see if it helps?

    • Delete all the authentication items from extension's settings screen (both Jira and Bitbucket)
    • Quit VS Code
    • Open macOS Keychain app and delete the entries that starts with atlascode (it should be something like atlascode-authinfoV2)
    • Open VS Code
    • Open VS Code's developer tools (Developer: Toggle Developer Tools from command palette)
    • Authenticate with Bitbucket

    Let us know if it works or if you see any errors in the Developer Tools' console.

  3. Pramod Busam Account Deactivated

    We published version 2.0.3 of the extension which includes a couple of bug fixes related to Bitbucket features. Please update and let us know if that fixes the issue.

    (If you don't see an update in VS Code's extensions list, run Extensions: Check for Extension Updates from the command palette to refresh the list)

  4. Log in to comment