We have created a script that downloads all issues into our data warehouse. It iterates our issue list using
https://OURSITE.atlassian.net/rest/api/3/search?jql=project=OURPROJECT_CODE&startAt=<startAt parameter>&maxResults=<startAt + 100>
this works for getting issues, but the script fails when we get to high values for startAt.
For example
returns the following JSON with a HTTP 500 code
{"errorMessages":["Internal server error"],"errors":{}}
one more thing: I do know for sure that we have more than 160 000 issues. So we should be able to get more than 151700 issues
EDIT: After doing some investigation, I see that
startAt=151700&maxResults=151800 works, but startAt=151600&maxResults=151700 does NOT work. This is really strange. In other words, there is a certain offset we are not able to retrieve
one more thing: I do know for sure that we have more than 160 000 issues. So we should be able to get more than 151700 issues
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.