The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket REST api compare/changes does not work with files more than 1000

Gourav Puri
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 25, 2024

I have a branch where lots of commit have happened and now the difference between branches is more than 1000 files (1229 to be precise) 

this Bitbucket api 

https://developer.atlassian.com/server/bitbucket/rest/v819/api-group-repository/#api-api-latest-projects-projectkey-repos-repositoryslug-compare-changes-get

has a limitation on retrieving file changes more then 1000 files

When requesting files after 1000 files by setting start=1000&limit=100 
We get below response 

 

{"fromHash":"3f3127446569ca393b0e9c04c4ac0ecfa0500b80","toHash":"refs/heads/release/22.5.0","properties":{},"values":[],"size":0,"isLastPage":false,"start":1000,"limit":100,"nextPageStart":null}

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events