Skip to content

Bug fixes for Jira REST Java client#647

Merged
rantoniuk merged 4 commits intomasterfrom
rantoniuk/jrjc-fixes
Apr 23, 2025
Merged

Bug fixes for Jira REST Java client#647
rantoniuk merged 4 commits intomasterfrom
rantoniuk/jrjc-fixes

Conversation

@rantoniuk
Copy link
Member

Fixes needed for release requested by upstream in #636.

RestClientException{statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors={}, errorMessages=[The max results parameter has to be between 1 and 5,000.]}]}

  • Set explicitly the fields that are needed according to documentation, since passing null doesn't work:

2025-04-22 21:27:52.779+0000 [id=31] WARNING h.plugins.jira.JiraRestService#getIssuesFromJqlSearch: Jira REST client get issue from jql search error. cause: RestClientException{statusCode=Optional.absent(), errorCollections=[]}
org.codehaus.jettison.json.JSONException: JSONObject["fields"] not found.

@rantoniuk rantoniuk requested a review from a team as a code owner April 22, 2025 22:20
@rantoniuk rantoniuk linked an issue Apr 22, 2025 that may be closed by this pull request
@rantoniuk rantoniuk merged commit 59d6dd9 into master Apr 23, 2025
15 checks passed
@rantoniuk rantoniuk deleted the rantoniuk/jrjc-fixes branch April 23, 2025 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JiraRestService#getIssuesFromJqlSearch throws an exception Upcoming Deprecation of Jira Cloud Search APIs

1 participant