Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

VS Code: Error creating pull request - Cannot read property 'site' of undefined

I am trying to make a pull request from Jira and Bitbucket (Official) VS Code Extension but get the error: "Error creating pull request - Cannot read property 'site' of undefined"

I am logged into Bitbucket from VS Code Extension and I do not know what the error means. I am working on Linux mint 20.1. Could someone assist.

Regards,

Barnett

5 answers

i was running into this issue when i tried to create a PR into the 'main' branch (for example).

if i change my approach to make the PR into 'origin/main' then the PR is created without issue.

0 votes
Douglas H. Silva
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Jun 28, 2023

Change the destination branch to Origin/Master which will resolve it.

Destination Branch
Master = Local
Origin/Master = Bitbucket

Holly Williams
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Oct 09, 2023

Hi Douglas, where do we change the destination branch? I've searched through all the settings for the Jira extension, in Jira itself, and it Bitbucket, and I can't find a place to change this anywhere. Thanks for your help!

Um, except of "watch", can we do anything else to solve this?

 

Debug:

```

[2023-06-06 13:15:03:619] curl -X GET -H "User-Agent:atlascode/2.x axios/0.19.2" -H "Content-Type:application/json" -H "Authorization:Bearer XXX "https://api.bitbucket.org/2.0/repositories/XXX/proxy/commits?include=BACKLOG-2702-PRX---add-logging&exclude=main&pagelen=100"
[2023-06-06 13:15:03:619] ----------------------------------------------------------------------
[2023-06-06 13:15:04:332] Error: error fetching commits: TypeError: Cannot read properties of undefined (reading 'length')
```
Did you guys change the API without changing the extension?

Facing also the same issue. Is there already an existing issue to track this?

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 08, 2021

Hi Barnett,

You can report this issue and request for assistance here:

This is the issue tracker of the repo for VS Code extension, and it is monitored by the developers of the extension.

Kind regards,
Theodora

Like # people like this

any update on this issue?

Like # people like this

I'm facing the same problem

Like # people like this

I have the same issue running on Arch Linux. If I create a Pull Request in the browser then I can approve, merge, etc. But if I try to create a Pull Request in the VS Code extension it will never populate the Source nor Destination branches whether I use the dropdown or type in the branches.

Like # people like this

Same issue when trying to create a new PR from the extension.
Screenshot_20230421_162908.png

And the issues page of the extension is no longer accessible.

Like Daniel John Baker likes this

count one more.. Same issue when trying to create a new PR from the extension.

Same issue here 

Like Marc Anderson likes this

I just switched back to VS Code 1.75.1 and installed Atlassian 3.0.2, then everything works fine.

Not ideal, but works for now.

i have the same issue 

Same same. Issue creating PR in VS Code from Atlassian Plugin.

I also have this issue

Anna Ochab-Marcinek
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Jun 06, 2023

Same here

Um, except of "watch", can we do anything else to solve this?

 

Debug:

```

[2023-06-06 13:15:03:619] curl -X GET -H "User-Agent:atlascode/2.x axios/0.19.2" -H "Content-Type:application/json" -H "Authorization:Bearer XXX "https://api.bitbucket.org/2.0/repositories/XXX/proxy/commits?include=BACKLOG-2702-PRX---add-logging&exclude=main&pagelen=100"
[2023-06-06 13:15:03:619] ----------------------------------------------------------------------
[2023-06-06 13:15:04:332] Error: error fetching commits: TypeError: Cannot read properties of undefined (reading 'length')
```
Did you guys change the API without changing the extension?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events