Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot read properties of undefined (reading 'getList') when trying to open a bitbucket repo #78

Open
arijitkanrar opened this issue Jan 16, 2025 · 3 comments

Comments

@arijitkanrar
Copy link

Describe the bug
After adding the vscode atlassian extension and authenticating with our bitbucket instance, when trying to open the the pull requests I get an error popup saying Cannot read properties of undefined (reading 'getList'). I've tried all possible options including restarting VSCode but it doesn't help.

To Reproduce
Steps to reproduce the behavior:

  1. Install atlassian VS Code extension
  2. Authenticate with bitbucket instance using Personal Access Token (HTTP access token created from manage account)
  3. Currently open repo shows up in the Atlassian extension
  4. Expand a repo under the BitBucket pull requests section

Expected behavior
A list of open pull requests should show

Screenshots
image

Environment and Version (please complete the following information):

  • Atlassian Plugin Version: 3.2.2
  • Visual Studio Code Version: 1.96.2
  • Is this a local or cloud environment?: Cloud
  • If Cloud, Browser (chrome, safari): Chrome
  • If Local, OS (macOS, windows, linux): N/A

Additional context
I've also added a personal access token generated from Jira and that is able to fetch the Jira issues in the Atlassian plugin under the Jira issues section.

@bwieger-atlassian-com
Copy link
Collaborator

@arijitkanrar

Thanks for raising this. Can you provide a little more context for us:

Questions

  • Was this working previously for you?
  • Can you share the output of both the developer web tools console errors & the Atlassian Output in debug?

Instructions:

How to set up debug mode for the plugin:

  1. Using the command pallete (cmd+shift+p), search for "Preferences: Open User Settings"
  2. In the Settings, search for "Atlassian"
  3. Find the Atlascode: Output level and select debug

How to set up the developer tools:

  1. Using the command pallete (cmd+shift+p), search for "Developer: Toggle Developer Tools"
  2. Open the "Console" Tab in the developer tools

Then repeat the action you listed in the issue and take screenshot and post here. Feel free to "erase" any sensitive data in the screenshot.

Image

@arijitkanrar
Copy link
Author

arijitkanrar commented Jan 17, 2025

@bwieger-atlassian-com, thanks for looking into this. Please see my response below

  • Was this working previously for you?: No, it has never worked
  • Can you share the output of both the developer web tools console errors & the Atlassian Output in debug?
    Here is the screenshot of the console. There was only 1 message when I got the same error
    Image

And here is the output (or lack thereof) of the Atlassian extension
Image

Do let me know if you want me to run any other tests.

@arijitkanrar
Copy link
Author

While doing this a few more log messages were printed to the VSCode console. Saved them as a log file attached here

Atlassian_extension_log.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants