Connector for visual studio 2013 fails to authenticate

I installed Atlassian Connector for Visual Studio 2013 a few days ago. Everything was working fine but 2 days ago the connector stopped authentication with JIRA online.

If I click the url in the Project Configuration dialog I can log on without any problems on the browser but the connector always gives the error "Failed to connect to the server .... The remote returned an error: (401) Unauthorized". The full exception message is:

Failed to connect to server "Jira online"

The remote server returned an error: (401) Unauthorized.<br><br>Url:<br>Data: {"username":"------------------","password":"--------"}<br>Response: {"errorMessages":["Login failed"],"errors":{}}<br>


at Atlassian.plvs.api.jira.RestClient.jsonOpNoRetry(String method, String tgtUrl, Object json, HttpStatusCode expectedCode)
at Atlassian.plvs.api.jira.RestClient.restLogin()
at Atlassian.plvs.api.jira.facade.RestJiraServerFacade.login(JiraServer server)
at Atlassian.plvs.api.jira.facade.SmartJiraServerFacade.<>c__DisplayClass2.<login>b__0(JiraServer param0)
at Atlassian.plvs.api.jira.facade.SmartJiraServerFacade.delegatedVoid(JiraServer server, DelegateVoid rest, DelegateVoid classic)
at Atlassian.plvs.api.jira.facade.SmartJiraServerFacade.login(JiraServer server)
at Atlassian.plvs.dialogs.jira.TestJiraConnection.testConnection()

Anyone has any ideas where I can look to find any possible miss-configuration or what I can try to make it work?



3 answers

Having the exact same problem, anyone has any advice?

Me too.  I know from the discontinuation announcement that Atlasssian won't respond to this now, but do any other users have anything to contribute?  Is the 2013 VS connector working for anyone else?  FWIW I'm trying to authenticate against JIRA Cloud (hosted), and getting the exact same error as Antonio.  I am 100% confident that the username/password entered are correct, as copying and pasting them from the error into the login page works fine.

Well I just got this working!  The trick is to find the actual username, not necessarily the login you use for Jira.  You login, and create users, by email address.  But a username is created for you, that is only visible from user administration.  That username (in my case "admin") was all I needed to get the VS connector working.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,512 views 15 20
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you