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 · 10 comments
Assignees
Labels
axon-110 bitbucket This is related to Bitbucket bug Something isn't working DC This is related to Data Center products high-priority For task that are deep impact or widespread

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

@arijitkanrar
Copy link
Author

Hello @bwieger-atlassian-com , do you have any update on this?

@pvonkaenel
Copy link

I'm see the same error. I just installed the Atlassian extension for the first time. I've authenticated connections to Jira with an authentication token (this works) and to BitBucket with an authentication token. Anything to do with BitBucket fails. Cannot get a list of pull-requests and cannot create one.

@dohko8
Copy link

dohko8 commented Jan 31, 2025

Same issue: jira is working fine with a token but bitbucket fails with errors Cannot read properties of undefined (reading 'getList')

@jamus-cambium
Copy link

I am seeing the same issue, except for Data Center

Atlassian Plugin Version: 3.4.0
Visual Studio Code Version: 1.96.4
Is this a local or cloud environment? Bitbucket Data Center 8.19.13
If Cloud, Browser (chrome, safari): N/A
If Local, OS (macOS, windows, linux): macOS

It's been broken for a while now (possibly not the same symptoms). I've tried both PAT and Username/Password.

@lutin-malin
Copy link

Same here, using extension 3.4.0 , bitbucket datacenter and PAT authentication

@arijitkanrar
Copy link
Author

It appears a lot of people are facing the same issue. @bwieger-atlassian-com please let us know if there is any update on this?

@bwieger-atlassian-com
Copy link
Collaborator

bwieger-atlassian-com commented Feb 6, 2025

Hi Folks, Sorry for the miss on the notifications.

We will take a look at this in the next couple of days.

Jira: https://softwareteams.atlassian.net/browse/AXON-110 (Atlassian Private Link)

@bwieger-atlassian-com bwieger-atlassian-com self-assigned this Feb 6, 2025
@bwieger-atlassian-com bwieger-atlassian-com added axon-110 bitbucket This is related to Bitbucket DC This is related to Data Center products bug Something isn't working high-priority For task that are deep impact or widespread labels Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
axon-110 bitbucket This is related to Bitbucket bug Something isn't working DC This is related to Data Center products high-priority For task that are deep impact or widespread
Projects
None yet
Development

No branches or pull requests

6 participants