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: https://qualtechsoftware.atlassian.net/rest/auth/1/session<br>Data: {"username":"------------------","password":"--------"}<br>Response: {"errorMessages":["Login failed"],"errors":{}}<br>
System.Net.WebException
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?
Thanks
Tony
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.