Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

IntelliJ Jira Configuration Working and Not Working

Lynn Ford
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 22, 2019

I have IntelliJ Ultimate v2018.3.2. Our team is setup with Atlassian for both Jira and Confluence.

Working: Settings -> Tools -> Tasks -> Servers, I was able to setup a configured server that I can test the connection successfully and results in being able to access tasks in the upper right corner.

Not Working: Atlassian pane indicates "No enabled JIRA or Bamboo servers found". Clicking on Configure Plugin Project Settings then plus displays a form with similar inputs. I've tried both Add JIRA Server and Connect to JIRA Studio.

The exception below is the response. I'm confident the password is correct, email masked.

Any help would be appreciated!

com.atlassian.theplugin.commons.remoteapi.RemoteApiException: x@y.net:[password 12 chars]@https://y.atlassian.net

org.codehaus.jettison.json.JSONException: JSONObject["loginInfo"] not found.
    at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl.wrapWithRemoteApiException(JiraRestSessionImpl.java:803)
    at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl.login(JiraRestSessionImpl.java:180)
    at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl.testConnection(JiraRestSessionImpl.java:762)
    at com.atlassian.connector.commons.jira.JiraRESTFacade2Impl.testServerConnection(JiraRESTFacade2Impl.java:329)
    at sun.reflect.GeneratedMethodAccessor4839.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl$1.invoke(JIRAServerFacade2Impl.java:91)
    at com.sun.proxy.$Proxy58.testServerConnection(Unknown Source)
    at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.testServerConnection(JIRAServerFacade2Impl.java:268)
    at com.atlassian.theplugin.commons.jira.IntelliJJiraServerFacade.testServerConnection(IntelliJJiraServerFacade.java:473)
    at com.atlassian.theplugin.idea.config.serverconfig.ProductConnector.connect(ProductConnector.java:35)
    at com.atlassian.theplugin.ConnectionWrapper.run(ConnectionWrapper.java:63)
Caused by: com.atlassian.jira.rest.client.RestClientException: org.codehaus.jettison.json.JSONException: JSONObject["loginInfo"] not found.
    at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.invoke(AbstractJerseyRestClient.java:89)
    at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.postAndParse(AbstractJerseyRestClient.java:140)
    at com.atlassian.jira.rest.client.internal.jersey.JerseySessionRestClient.login(JerseySessionRestClient.java:54)
    at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl.setSessionCookies(JiraRestSessionImpl.java:819)
    at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl.doCall(JiraRestSessionImpl.java:810)
    at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl.wrapWithRemoteApiException(JiraRestSessionImpl.java:791)
    ... 12 more
Caused by: org.codehaus.jettison.json.JSONException: JSONObject["loginInfo"] not found.
    at org.codehaus.jettison.json.JSONObject.get(JSONObject.java:360)
    at org.codehaus.jettison.json.JSONObject.getJSONObject(JSONObject.java:454)
    at com.atlassian.jira.rest.client.internal.json.AuthenticationJsonParser.parse(AuthenticationJsonParser.java:32)
    at com.atlassian.jira.rest.client.internal.json.AuthenticationJsonParser.parse(AuthenticationJsonParser.java:25)
    at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient$4.call(AbstractJerseyRestClient.java:145)
    at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.invoke(AbstractJerseyRestClient.java:68)
    ... 17 more

jira-issue-working.PNGjira-issue-notworking.PNG

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 8, 2019

Hey Lynn,

Looks like that's the Atlassian IDE connector - we officially discontinued that plugin and support for it in 2015. I was able to reproduce the same error with my Cloud account. If I were to hazard a guess, my thought is that the IDE connector plugin may be using a library that doesn't support the newer crypto ciphers we require for Cloud connections.

I see you've already got the IntelliJ-native Tasks feature set up. From what I've read, having that built-in to IntelliJ was one of the reasons the IDE connector plugin was discontinued.

Do you know of something else in the IDE connector plugin that you were hoping to use? Maybe we can find an alternate solution that provides the same feature!

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer