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
Community Members
Community Events
Community Groups

Crucible to Jira Cloud -- Linked Issues lookup fails with JSONException


Edit: I found Crucible bug CRUC-8454 which indicates no workaround for the error at present. 


I am running Crucible version 4.7.0 and have been successfully linked with a Jira Cloud site for months. A couple of weeks ago, however, the "linked issue" field on the review details page stopped returning any results. The findJiraIssueAjax call which fires when typing in this field, now only returns the following failure message:

"errorMsg": "",
"worked": false,
"msgHtml":"JIRA Server JIRA: ",
"serverUrl":"https://{my jira cloud site}"

I enabled debug logging in Crucible, and found that it is throwing a JSONException error. What I am wondering is if Jira Cloud's rest api has been changed recently in some what that makes it incompatible with Crucible 4.7.0? There doesn't seem to be any problem with my Application Link itself, and I tried removing and creating the link again without any problems. It's just the ajax call to look up jira issues that fails. Anyhow, here are the server-side debug logs with the JSONException:

2020-02-24 15:12:20,428 DEBUG [qtp839998248-8078 ] fisheye JiraIssueServiceImpl-logException - Error retrieving issue 'TEST-123' from JIRA server at https://{my jira site}

at com.atlassian.fecru.plugins.jirarest.restinvoker.JiraRestInvokerImpl.invoke( [?:?]




Caused by: org.codehaus.jettison.json.JSONException: JSONObject["name"] not found.
at org.codehaus.jettison.json.JSONObject.get( [?:?]
at org.codehaus.jettison.json.JSONObject.getString( [?:?]
at [?:?]
at [?:?]
at [?:?]
at [?:?]
at [?:?]
at [?:?]
at [?:?]
at$1.handle( [?:?]
at$3.apply( [?:?]
... 243 more 


2 answers

2 accepted

0 votes
Answer accepted


This is a known bug with no suggested workaround at this time.

0 votes
Answer accepted
DPK J Community Leader Feb 25, 2020

@Jake  As GDPR for Cloud API is kicking in information like 'name' and 'email' are not provided against User based fields like assignee, reporter etc.

If you are parsing data manually make sure you take care of this.

Thanks, that's a good point. However, I'm not doing any manual parsing. This is just the basic Crucible functionality, but it is an older version.

I've thought about upgrading to a newer version of Crucible but haven't found anything in the release notes yet to indicate that an upgrade will fix the problem.

Thanks again, I will keep this handy. But it looks like as far as the Crucible integration goes, it's just a waiting game -- I edited my original post with a Crucible bug report that says there's no known workaround yet...but at least it's been reported already. =)

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events