Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Edited

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
TAGS
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

136 views 1 2
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you