We're looking for the number of unique committers to repositories in our workspace over the last 6 months.
We'd like to count only active users (e.g. ignore committers who are no longer with the company).
Can this be done using the Bitbucket Cloud API?
G'day!
Unfortunately, at present, the API will not show whether or not a user is active - or what their total commit count is. I have raised this as a feature request to our developers on your behalf, however:
https://jira.atlassian.com/browse/BCLOUD-22296
Please feel free to "Watch" this ticket to receive future updates related to it, and "Vote" for it to improve its visibility in relation to customer demand.
In the meantime, you can use the GIT command below on a per-repository basis that will show individual users who have committed in the last 6 months, and the number of commits they have contributed:
git shortlog -s -n --all --since 2022-06-01
Cheers!
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.