I am hoping to gather some aggregated statistics relating to which user(s) have contributed various commits to any given branch, and which users have reviewed any given pull request.
On the command line, I can use "git log" to retrieve a list of commits to any given branch (such as develop/ which is the branch I am interested in). I can iterate this command line output and retrieve the commit hash, and the username / email who made the commit.
After that, I can then use the Bitbucket website to view each pull request, but it's a manual process. Is there a git command that lists all pull requests similar to that found on the website under https://...../repos/...../pull-requests/ ?
Thank you very much for any assistance!
Hi @David Cash
Sorry for the late response.
Unfortunately, there isn't a git command to perform exactly what you are looking for.
However, it is possible to use bitbucket rest API to retrieve information about the pull request.
Querying pull requests:
Please, do not hesitate to ask if you need any further assistance.
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events