Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Viewing merged pull requests of a developer can be useful in many scenarios. For some teams a merged PR is a measure of added business value, for others, it is a tool for informing 1-on-1 discussions with employees. So whether you would like to review your own work or prepare for a meeting with your reportee, in this article, we will cover different options to get informed on merged pull requests of a particular author in Bitbucket Data Center.
If you would like to find merged pull requests of a particular developer on the repository level, go to the Pull requests page of a target repository, configure the PR state filter to Merged, and select a contributor of interest in the Author filter. The result should look like this:
As you can see, the page now displays all Max Schmitt's merged pull requests in chronological order, from the most recent to the older ones. By the way, here is how we added the Cycle Time column to this page in case it caught your interest.
There are several drawbacks to this solution. First of all, it is not possible to filter pull requests for a specific timeframe. Secondly, the data is not aggregated in any way. So if you would like to know how many Max's RRs from July were merged, you are in for some manual counting. Luckily, there is a way to do that much easier.
Take a look at the Activity graph added to the native Bitbucket interface by the app Awesome Graphs for Bitbucket. The Activity graph is available on the Repository level and in its standard configuration shows top committers and top pull request authors, contributing to the viewed repository.
The Activity graph also allows you to select custom timeframes and filter the data for a particular contributor. So if you want to know, how many merged pull requests Max Schmitt did in September, you can easily find that info:
Notice how the right graph shows the number of merged and deleted pull requests made by Max not only when you hover over the bar, but also in a neat infographic on top of the graph.
But what if your team works in so many repositories that going through them one by one to get an idea of how many merged pull requests a developer created sounds very tedious?
The good news is that Activity graph is available on the Project level too! So you can skip going to every repository and get all the info you need in a couple of clicks. Configure the graph the same way as in the repository and enjoy quick aggregated merged PR data on the Project level.
If you are looking to see how many merged PRs a person had on the level of the whole instance, using Awesome Graphs REST API or CSV export may be a great option for your use case.
Here is an example of pull request data that you can export from Bitbucket in a couple of clicks using the Export to CSV feature:
Each row in the export corresponds to a unique pull request and contains information on the author, reviewers, and even cycle time. Notice, how for each pull request, there is also information on its state: whether it is declined, open, or merged. Using this export and any spreadsheet you can easily filter the data to get the number of merged pull requests for a certain author on the level of the whole instance. And there is more!
If your team uses custom dashboards for reporting, you can get the same data using Awesome Graphs REST API. REST API endpoints are available on Global, Project, Repository, and User levels, so you can fetch global pull request data for a particular developer with just one query with no further filtering required! With this resource, you can automate the process and get the exact report you are looking for.
By this point, we have covered some good options for viewing merged PRs, but what if you want to get more details on those PRs?
Let's take a look at the Contributions Report available in Awesome Graphs:
Contributions Report is available on both Repository and Project levels and in the screenshot it is configured to show how many comments authors received in their merged pull requests. Being able to select different timeframes on the configuration page, you can track and compare this metric over time.
Conveniently, this report is also clickable: just select any bubble of your interest, and the Activity stream below the graph will adapt to show all pull requests included in it. Right now the graph is configured to only show information on merged pull requests, so if you click on a bubble you will see merged pull requests, in this case, created in August by Max.
This is just one example of how you can use the Contributions Report to gain more insight into what is happening inside merged pull requests. It also can be configured to show how active Max and other developers are in reviewing other people's work, what review statuses they set, and more!
To get the full idea of what this report can do, we encourage you to try configuring it yourself in our public demo stand. And make sure to reach out to us if you have questions!
If any of the options shared in this article have caught your interest, I am happy to share that you can try Awesome Graphs for Bitbucket for free. Just head over to our marketplace and generate an evaluation license for your team to experience all the app's benefits first-hand. You'll find out that there is way more to enjoy than we have covered here.
Uladzislava Kastsitsyna _Stiltsoft_
Product Marketing Manager at Stiltsoft
Stiltsoft
0 comments