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"
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
Can we get 1000 issues by using startAt?
You need to do 10 requests for 100 issues each, one with "startAt=0", the next one with "startAt=100", "startAt=200", etc. etc.
I understand. thank you.
It looks like you're new here. Sign in or register to get started.