How to count unique committers over time?

cramirez_ntst November 29, 2022

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?

1 answer

1 accepted

0 votes
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 30, 2022

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)

cramirez_ntst December 1, 2022

Thanks Ben!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events