Forums

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

Jira Search API missing names field on paginated response

muhammet aktaş
June 12, 2026

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,schema

Problematic request:

GET /rest/api/2/search?jql=assignee=currentUser()&startAt=250&maxResults=50&expand=names,schema

There 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 found

Could you please confirm whether this is expected behavior in Jira 10.3.16 or a REST API regression?

1 answer

0 votes
Marc -Devoteam-
Community Champion
June 12, 2026

Hi @muhammet aktaş 

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.

Suggest an answer

Log in or Sign up to answer