Forums

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

About search limits for issues in jira service managemen

青山 明
Contributor
February 16, 2023

I want to search jira service management issues using REST API.
I set the search limit (maxResults:1000) as follows, but I can only search up to 100 search results.
Is something specified wrong? Or a cloud bug?
Or is there another way?

https://xxxxx.atlassian.net/rest/api/3/search?maxResults=1000&jql=project="SAM"

1 answer

1 accepted

1 vote
Answer accepted
Hannes Obweger - JXL for Jira
Atlassian Partner
February 16, 2023

Hi @青山 明

yes, the search API is limited to 100 issues per request. I don't think it's well-documented, but it's definitely the case. You need to use pagination (i.e., the "startAt" parameter) to load all issues. See details here.

Best,

Hannes

青山 明
Contributor
February 16, 2023

Can we get 1000 issues by using startAt?

Hannes Obweger - JXL for Jira
Atlassian Partner
February 16, 2023

You need to do 10 requests for 100 issues each, one with "startAt=0", the next one with "startAt=100", "startAt=200", etc. etc.

青山 明
Contributor
February 16, 2023

I understand. thank you.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events