Sometimes while using jira rest java client i'm getting above issue which i think due to some junk data in the summary field or not sure about the error exactly...we are getting these issue in between certain period( updated field period between fromdate and to date) but not every time but problem is we are not able to proceed further to read other issues as we are not even getting the response back... so please help me on how to solve this issue...
Promise<SearchResult> searchJqlPromise = client.getSearchClient().searchJql("resolution in (\"Fixed\", \"Done\", \"Completed\", \"Complete\", \"Feature Complete\", \"Resolved\", \"Unresolved\") AND updated >= \""+fromDate+"\" AND updated <= \""+toDate+"\" AND issuetype in (\"Discovery\", \"Bug\", \"Task\", \"Story\", \"Spike\") ORDER BY resolutiondate",maxResults,startAt,fieldSet);
totalCount=searchJqlPromise.claim().getTotal();
log.info("Total No. of Records for Issues are : {}",totalCount);
for (Issue issue : searchJqlPromise.claim().getIssues()) {
-------
------
}
this is sample code snippet I'm using so while executing the jql itself we are getting the exception as response it is working fine in browser or postman but in java code there is some json parsing happening internaly in jira rest client which is throwing the exception and not proceeding further
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.