It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

(API) Access complete change log for multiple issues using one request?

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.


1 answer

0 votes
Warren Community Leader Oct 18, 2019

Hi @myName isBen 

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

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you