Can't create or read pull requests using new VS Code integration
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)
-
Account Deactivated -
reporter Hi, Already tried your suggestion and didn't work.
-
Since the last update, i can’t read my friend’s pull requests
-
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 likeatlascode-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.
-
reporter Yeah, same error I get when I try to read PRs.
-
@Shai Ben Tovim i did exactly what you said and i got this messages on console
-
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) -
It’s working now! Thanks!
-
reporter Can confirm that after upgrade to 2.0.3 PR are back working as expected.
-
reporter - changed status to resolved
Resolved after upgrade to ver 2.0.3
- Log in to comment
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?
Bitbucket Cloud
entry in the extension's settings screen (in Bitbucket -> Authentication section)Login to Bitbucket Cloud
button on the same screen to authenticate again