Facing issue while using the jira api getting org.codehaus.jettison.json.JSONException: Missing val

Gaurav Srivastava
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!
August 8, 2019

When I am using the jira api to get an issue,it throws the following exception

org.codehaus.jettison.json.JSONException: Missing value. at character 169402 of
{"expand":"renderedFields,names,schema,transitions,operations  ....    lot of other information fetched for that particular issue

I am using com.atlassian.jira.rest.client-2.0.0-m31.w2

Below is the code I am using :

try (JiraRestClient client = factory.createWithBasicHttpAuthentication(jiraURI, username, password)) {
IssueRestClient issueClient = client.getIssueClient();
Promise<Issue> issue = issueClient.getIssue(jiraNumber);
keyIssue = issue.get(); ...

jiraURI is the jira system our company is using something of the form https://jiratest.int.kronos.com

The object issue contains the json exception mentioned above.

Can you please help me out ?

0 answers

Suggest an answer

Log in or Sign up to answer