Forums

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

"No content to map to Object due to end of input" error when updating issue

wangxueyuan
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!
March 31, 2022
try {
FieldInput fieldInput = new FieldInput(key, value);
issueRestClient.updateIssue(issueId, IssueInput.createWithFields(fieldInput)).claim();
} catch (Exception e) {
log.error("updateIssue has errors with msg->{}, issueId->{}", e.getMessage(), issueId, e);
}

I used the codes above to update issue , but however I got an error below when I do it. And I really don't know why.

com.atlassian.jira.rest.client.api.RestClientException: [ErrorCollection{status=400, errors={}, errorMessages=[No content to map to Object due to end of input]}]
 

0 answers

Suggest an answer

Log in or Sign up to answer