Does anyone know of a way to look at a git commit, and trace it to the pull-request? Does anyone know if this is possible on Bitbucket Server (5.2.x, or newer).
This is for audit reasons, we need to be able to verify that a commit was reviewed by a peer. Using protected branches, which we're using, is not enough; sadly.
I don't think it's possible from the commit to figure out which pull request it belongs to, but you can from the pull request get the commits that are part of it. You can use the REST API to iterate over pull requests to search for a specific commit. The REST API documentation can be found here: https://developer.atlassian.com/bitbucket/server/docs/latest/
As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs