Hi all
I have some JQL that returns a list of tickets that I want part of the change logs for - more specifically the only thing I want returned from the logs are instances of the status field being changed.
My URL is https://jiraURL/rest/api/2/search?jql=xxx&fields=yyy&expand=changelog. This works but I'm only getting part of the change log for each of the tickets.
If I use the response from the above URL I can get the information I want by making a request for each ticket at which point the complete change log is returned but I'd much rather get all the information using one request.
Does anyone know if this is possible? I've looked at the documentation but I'm fairly new to the API so might have missed something.
Thanks,
Ben.
No you're not missing anything. The API call you show will only return the first 20 changelogs; if you require more you need to use a call specific to that issue.
I have code which checks the number of changelogs and then only use a separate call if > 20. It's not ideal but that's the way it is
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.