Is there any way to override maxResult value in changelog api

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

1 answer

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

70 views 1 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you