Is there any way to override maxResult value in changelog api?
By default changelog api returns only 100 results but In case if I have more than 100 results how Can I override this value?
I tried using below query but it didn't worked
https://localhost:8090/rest/api/2/issue/BB-123/changelog/?maxResults=1
Hi Saurabh,
In order to get the changelog via the API you would need to use the following query:
http://localhost:8090/rest/api/2/issue/BB-123?expand=changelog
The maxResults doesn't work on the expand. If you had the following query maxResults would work:
http://localhost:8090/rest/api/2/search?jql=project="BB"&maxResults=1
The point of the expand method is to expand sections of the results that you would not normally get returned and the maxResults doesn't work against expansions.
Cheers,
Branden
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.