Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Iterate through changelog history with REST API

Bjoern July 16, 2014

Hello,

I'm using the REST API to collect issue information. I want to get the complete changelog for an issue by using http:server/jira/rest/api/2/issue/{number}?expand=changelog

The issue json object then contains the changelog. The changlog has total, startAt and maxResults values for the history. How can I iterate through the history items if total > maxResults? Adding startAt as query parameter is not working.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Bjoern July 21, 2014

I have been looking into issues from 01/2010 to 01/2014 and what I could observer, was: total = maxResults. So, I don't think I have to iterate over pages of history items because total will always be the same as maxResults, but a confirmation would be nice.

TAGS
AUG Leaders

Atlassian Community Events