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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can Bitbucket API be used to retrieve commits over a month for projects and different users?

Edited

Is it possible at all that you can use the Bitbucket API to retrieve the amount of commits over a month for a project and for a user on the bitbucket platform?

I've looked at the API documentation and whilst there is an api call there for retrieving commits I can't find anything for getting commits over a month.

1 answer

1 accepted

0 votes
Answer accepted

Hi Luke and welcome to the community.

I believe that your question is about Bitbucket Cloud API?

I'm afraid that this is not possible at the moment, we have a feature request for this in our issue tracker that I would suggest voting for and watching if you'd like to get notified via email on updates:

One suggestion I can make as a workaround would be to use a git log command, which has filters for --after, --before and --author. If you run it in a mirror clone of the repo (so that all branches are present) it should give you the info you want.

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

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,821 views 10 16
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you