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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to count unique committers over time?

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.
Nov 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)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events