We have many remote developers, and many repos (about 50).
We use bitbucket cloud.
The problem is, if a developer does little work, or does a lot of work, we are blind.
We want to do a simple/rough comparison of devs activities across all our repos for given time period (e.g. last 3 months)
We cant find any way to do this.
We cant even count the number PRs they merge.
Presumably it would be very easy for Atlassian to implement as they have all the data.
Other data, like number of comments made on PRs would also be a useful metric.
I cant believe a mature product like BitBucket has no metrics or reporting?
We cant use any third party apps as our organization is implementing budget cuts.
Are there any hacks? Such as scripting screen scraping of the web UI using selenium or similar?
Hi,
I had a quick look at Atlassian Marketplace and I found two apps that provide metrics, they are both listed as free:
I'm not sure if there are more, you can explore all available apps for Bitbucket Cloud here:
We also offer API endpoints for retrieving commits and diff stats, which you could use to retrieve the info you want and build a report:
The commits API endpoint does not support filtering, but you could get all the data and then use another tool that filters JSON data, like jq.
We also have API endpoints for getting pull requests and pull requests comments:
Finally, the git log command can be used in a clone of a certain repo to get info on commits and lines of code changed:
The command has several options that can be used for filtering by author, date, and showing number of added and deleted lines.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.