In Jira <span>10.3.16</span>, when calling the search endpoint with <span>expand=names,schema</span>, the <span>names</span> field is returned for earlier pages but missing at <span>startAt=250</span>.
Example working requests:
<span>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,schema</span>
Problematic request:
<span>GET /rest/api/2/search?jql=assignee=currentUser()&startAt=250&maxResults=50&expand=names,schema</span>
There are more than 1000 issues in total, and the response contains issues, but the <span>names</span> object is missing.
This causes Jira SDK / REST Java Client to fail with:
<span>org.codehaus.jettison.json.JSONException: JSONObject["names"] not found</span>
Could you please confirm whether this is expected behavior in Jira <span>10.3.16</span> or a REST API regression?