Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,301,432
Community Members
 
Community Events
165
Community Groups

I can't auth jira in vs code

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

2 answers

1 vote

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

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

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
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

242 views 2 8
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