Forums

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

How many maximum records for Issue History can I fetch using restapi?

Rakhi Jain
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!
April 24, 2019

I am trying to find restrictions of Jira restapi that fetches history:

/rest/api/2/issue/{issueKey}?expand=changelog&fields=changelog&startAt={startAt}&maxResults={maxResults}

 

Can I fetch any number of history records for an issue? Is there a restriction on the timeline of history that I can fetch for e.g., if I want to get all history for a set of issues for last 5 years, Can I get it using rest api?

1 answer

1 accepted

0 votes
Answer accepted
PD Sheehan
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.
April 24, 2019

I don't think there is a built-in limit on server (cloud does).

You just might experience a performance hit or timeout if it takes way too long to get ALL the results if you have a lot.

The startAt and maxResults seem to exist to be able let you chunk your data to prevent such risk. But I haven't been able to find out how to set those values.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events