-
Type:
Bug
-
Resolution: Invalid
-
Priority:
Low
-
Component/s: Work Item - Search - Backend - JSIS
-
Severity 3 - Minor
Issue Summary
This is reproducible on Data Center: Haven't tried
Steps to Reproduce
- If not already present, create a Jira instance with large number of issues (I tried with over 300) . They can be spread across multiple projects. I used Kanban and software project types
- Make a request to enhanced search endpoint with "fields" parameter set to any field and maxResults set to 5000 (which is the maximum that can be fetched as per doc of this query). Eg request body:
{
"jql": "status is not empty",
"expand": "",
"fields": [
"created"
],
"maxResults": 5000
}
Expected Results
This should return all the issues (300+) in first request.
Actual Results
- The response is limited to 100 results with nextPageToken set.
- Removing the fields parameter altogether returns all the results (300+).
- This behaviour is valid for below APIs as well.
- Search for issues using JQL enhanced search (POST) V3
- Search for issues using JQL enhanced search (GET) V3
- Search for issues using JQL enhanced search (GET) V2
Workaround
User has to rely on pagination to keep on getting next set of 100 Issues
- blocks
-
ECOHELP-54351 Loading...