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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.