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

Commits, chronological order.

Max December 4, 2020

Hello everyone, it is possible to obtain the commits via https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commits

in chronological order? Maybe some workaround exists?

Thank in advance, Max

1 answer

1 accepted

0 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 7, 2020

Hi Max and welcome to the community.

By default, this endpoint returns the commits in reverse chronological order (newest commits are returned first).

I'm afraid that it is not possible to reverse the order, as the commits endpoint does not support filtering and sorting at the moment.

We have a feature request for this in our issue tracker:

I would suggest to add your vote (by selecting the Vote for this issue link) as the number of votes helps the development team and product managers better understand the demand for new features. You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy here and any updates are posted in the feature request.

Please feel free to let me know if you have any questions.

Kind regards,
Theodora

Max December 7, 2020

Hi Theodora,

thank you for your answer! I will vote for this issue

Best regards, Max

Like Theodora Boudale likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events