Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira & Bitbucket extension for VS Code doesn't remember authentication credentials

I use Visual Studio Code (VS Code) as an editor for writing software on Widows and linux.  Atlassian has a free extension for VS Code that allows you to connect to and interact with Jira and Bitbucket.  I have installed this extension,entered the URLs of my Jira and Bitbucket data center instances as “custom sites” (vs. Jira and Bitbucket Cloud), and entered my username/password credentials for those instances.  VS Code successfully connects to both Jira and Bitbucket; I can see Jira issues, Bitbucket pull requests, etc.

Here’s the problem, when I close VS Code and reopen it, VS Code no longer connects to Jira or Bitbucket.  If I click on the “Sign in to Jira/Bitbucket” buttons on the status bar, it simply drops me on the settings page that allows me to add a custom URL.  It isn’t using the credentials I entered when I first added the URL, and there is no way that I have found to get it to prompt me for credentials again.  I can see the URL I entered originally, but there’s no option to initiate a manual connection or re-enter my credentials.  I am forced to delete the URL I entered the first time, and add it all over again.

Is this expected behavior?  How can I configure Atlassian extension for VS Code to automatically connect to Jira/Bitbucket, or at least prompt me for just my password instead of making me completely reconfigure the connections?

I'm using "Jira and Bitbucket (Official)" extension version 2.3.1 and VS Code version 1.41.1 on Red Hat Enterprise Linux 7.

On Windows 10, the Bitbucket side of things in the extension seems to work.  On the Jira side, the extension connects but never shows any results where I should see Jira issues listed.

2 answers

I can't even get that far... for me the "Save Site button is disabled, no matter what I put in the form.

I had the same issue when I first tried to use it.  I then ran ctrl-shift-p "Developer: Reload Window" and it seemed to fix the extension so that I could then save it.

Like Griffin Warburton likes this

@Matthew Gately , I had the same problem and your advise solved it for me.  Now to figure out how to get it to connect with an LDAP/SSO account instead of local jira credentials

I'm having a similar problem connecting to our Jira server instance. Mine does let me edit the settings and re enter the username and password.

It used to remember the credentials, but not anymore and doesn't provide a prompt. Instead, it just fails to authenticate and doesn't function until I edit the settings.

I'm having the exact same issue.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

469 views 3 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you