I can't auth jira in vs code

Maxim May 31, 2021

I install extension for vs code Atlassian (Jira and Bitbucket official) and can't auth in jira. I success auth in bitbucket, but not in Jira. I catch error...


Снимок экрана 2021-06-01 013531.png

3 answers

1 vote
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 1, 2021

Hello Maxim!

Thanks for including a screenshot of the error you're seeing. Just to ensure we're targeting the right issue, you're facing a problem when attempting to authenticate VS Code against Jira which results in your shared error.

You may have already done this, but ensure you're completing the steps below:

Authenticate with VS Code

Next, you’ll need to authenticate the VS Code extension with Jira and/or Bitbucket.

Authenticate Jira Cloud

  1. Open Atlassian Settings. Open the command palette (macOS: Command + Shift + P; Windows: Ctrl + Shift + P), search for Atlassian Settings, and hit Enter.

  2. Open the Jira tab, then open the Authentication section if it's not visible.

  3. Click Login to Jira Cloud. This will open the Atlascode Integration page in your browser. If you aren't already logged in, you'll be prompted to log in to your Atlassian account.

  4. On the Atlascode Integration page, click the Authorize for dropdown menu to open the list of sites (instances) you can authenticate with VS Code.

  5. Select the site you want to authenticate.

  6. Click Accept to complete authentication.

  7. Click Back to VS Code to return to VS Code.

If you’d like to authenticate another Jira site, click Login to Jira Cloud again and select another site.

Source: https://support.atlassian.com/bitbucket-cloud/docs/get-started-with-vs-code/ 

Alternatively, you may also be impacted by the following issue: Allow SAML SSO as authentication method which is associated with Ability to login VS Code plugin with Custom Jira Site through third-party authentication provider.

Regards,
Stephen Sifers

Klavs Wismann January 17, 2022

I have excactly this issue, I am not using any thirdpart authentication, I have a Jira account. When I try to login from the VSCode Jira extention, I am directed to below after page after I login to my Jira account. Once I accept the integration, my browser simply hangs waiting for api.atlassian.com to respond, but eventually times out.

 

jira-api-stuck.png

Like Kevin Foster likes this
0 votes
raouf bouzerara August 10, 2023

Did you find or recommend any solution? because I can't find any.

Jens Lumm October 23, 2023

I had to choose "log out of all accounts" on start.atlassian.com and then simply re-login. After this step, the auth went through.

0 votes
Jekabs Karklins April 1, 2022

Try removing custom sites, uninstalling, restarting VSCode and installing the extension again, and re-adding new custom site back. For me these steps fixes the issue for a while.

Suggest an answer

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

Atlassian Community Events