In Jira 10.3.16, when calling the search endpoint with expand=names,schema, the names field is returned for earlier pages but missing at startAt=250.
Example working requests:
GET /rest/api/2/search?jql=assignee=currentUser()&startAt=0&maxResults=50&expand=names,schema
GET /rest/api/2/search?jql=assignee=currentUser()&startAt=50&maxResults=50&expand=names,schemaProblematic request:
GET /rest/api/2/search?jql=assignee=currentUser()&startAt=250&maxResults=50&expand=names,schemaThere are more than 1000 issues in total, and the response contains issues, but the names object is missing.
This causes Jira SDK / REST Java Client to fail with:
org.codehaus.jettison.json.JSONException: JSONObject["names"] not foundCould you please confirm whether this is expected behavior in Jira 10.3.16 or a REST API regression?
This usually means that on one of the issues from 250 till 300 there is an issue with malformed Json or the expand object does not exist.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.