Forums

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

JIRA Query language only get latest 100 records

Daniel Mak
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 4, 2020

I use Splunk Addon 'Jira Issues Collector' to collect event from JIRA.

I have 150 issues created. However, I only get the latest 100 issues only.

All JIRA is created within 1 month.

Here is the JQR:

created >= "2020-01-01"

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 4, 2020

Hi @Daniel Mak  -- Welcome to the Atlassian Community!

I suspect you are running into the same limit as the REST API, and you would need to use the maxResults and startAt parameters to page for more than 100 records.  Also remember to specifically use and ORDER BY statement so the pagination works in a predicable manner.

Here is the REST API documentation which you an examine for use of maxResults:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-post

 

Best regards,

Bill

Dhinesh Dhanapal July 1, 2022

@Bill Sheboy how much can be the max results we can get using post call? I configured the request body with maxResults 10000 but only 100 issues returned for 250 results of jql.

Suggest an answer

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

Atlassian Community Events