Error using Atlassian extension in VSCode: "cannot get client for: Jira". Same for Bitbucket

mgoldbach_nsr
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!
May 29, 2023

Error using Atlassian extension in VSCode: "cannot get client for: Jira". Same for Bitbucket.

I have uninstalled and reinstalled several times.

Authentication into Jira and Bitbucket appears to succeed. 

10 answers

3 votes
Shai Ben-Tovim
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!
October 25, 2023

What worked for me was to logout completely out of all Atlassian products in my browser, log back in and then reauthenticate the VS Code Jira extension.

Anthony Crowder
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!
November 9, 2023

Thanks! This worked for me as well.

Like # people like this
2 votes
Daniel Tsuneo
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!
August 15, 2023

I have the same problem

1 vote
Omar
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!
October 11, 2023

I had a similar problem with v3.0.6; I installed the previous v3.0.5 it works now. 

0 votes
Aleksei_Baranov
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!
June 11, 2024

Still have the same issue with Jira. I read all comments here and tryed the most complicated.

After unauth+auth+close window before Back button+click Back to VSCode I get another error ;))) 

Something went wrong
code:401

message:"Unauthorized"


0 votes
Solaris Nite May 13, 2024

I wasn't able to fix this with the methods stated above. This plugin is unusable. I can't see the PR I need to review. Please fix!

0 votes
Meiarasan Sivaramalingam
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!
April 22, 2024

I made sure to do 2 things to solve this.

  1. Logout of all the Atlassian Products from your browser. Traverse to the authentication for Atlassian from VS Code extension.
  2. After the Success page in the browser close all your VS Code windows and then click on the back to VS Code button from the Browser. It might give you a pop-up from VS Code stating to enable the extension. Click on Enable and Open ( It can also directly open VS Code with Atlassian based on your previous settings. )
0 votes
Per Persson
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!
January 12, 2024

I have the same problem today.

0 votes
Jack Lippold
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!
September 28, 2023

FIXED: TLDR see update 2.

"cannot get client for: Bitbucket" No further information available. I can make Jira issues. I cannot make Bitbucket issues... which I then can't link to code. Hence... I can't use Jira... Which is my job.

Any ideas would be most welcome. I'm happy to try to debug this but I can't find any information online or in the output.

Update 1: here are my logs when output set to debug.

[2023-09-28 14:29:11:194] Creating client for https://api.bitbucket.org/2.0
[2023-09-28 14:29:11:194] Retrieving auth info for product: bitbucket credentialID: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2023-09-28 14:29:11:194] Retrieving secretstorage info for product: bitbucket credentialID: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2023-09-28 14:29:11:195] Retrieving auth info for product: bitbucket credentialID: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2023-09-28 14:29:11:195] Retrieving secretstorage info for product: bitbucket credentialID: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2023-09-28 14:29:11:195] Retrieving auth info for product: bitbucket credentialID: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2023-09-28 14:29:11:195] Retrieving secretstorage info for product: bitbucket credentialID: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2023-09-28 14:29:11:196] Is responsible process: true
[2023-09-28 14:29:11:196] Refreshing credentials.
[2023-09-28 14:29:11:196] Retrieving auth info for product: bitbucket credentialID: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2023-09-28 14:29:11:196] Retrieving secretstorage info for product: bitbucket credentialID: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2023-09-28 14:29:11:197] No credentials for Bitbucket Cloud!
[2023-09-28 14:29:11:197] returning new client
[2023-09-28 14:29:11:198] No credentials for Bitbucket Cloud!
[2023-09-28 14:29:11:198] returning new client
[2023-09-28 14:29:11:199] Retrieving auth info for product: bitbucket credentialID: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2023-09-28 14:29:11:199] Retrieving secretstorage info for product: bitbucket credentialID: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2023-09-28 14:29:11:200] No credentials for Bitbucket Cloud!
[2023-09-28 14:29:11:200] returning new client

 Update 2: Solution: Using command pallet show Atlassian welcome page, from here you can link to the settings page (THIS IS NOT THE SAME AS EXTENSION SETTINGS, why?) from which (provided you haven't customised your theme or you'll never find it) you can click on the bitbucket tab and then expand the Authentication tab and click login with bitbucket which will go through web auth flow. IMO when the client failed to get... this should have just triggered... or been a button as part of the notification rather than an error notification.
TLDR; I was scilly, you have to click login... not sure why not being signed in is an error... hardly a good customer journey.

I dream of a day when middle of the road businessmen appreciate devops and switch to GitHub.

0 votes
david-madon September 21, 2023

Same issue for me as well.. Anyone managed to solve this?

0 votes
Gabe Klavans September 5, 2023

Same problem here. Not sure what other steps to even take, here

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events