The same as this question but for Bitbucket.
If I have a commit, is there any way to figure out what Pull Requests it was in?
The same as this question but for Bitbucket.
If I have a commit, is there any way to figure out what Pull Requests it was in?
This feature was released in version 5.11 of Bitbucket Server, as noted in the release notes.
On Bitbucket, copy the commit hash in the search bar and wait a couple of seconds for the auto-search to list the commit in the drop down (that's what was bugging me, I was hitting Enter
straight away).
By clicking on the commit in the drop-down, you'll get to a page with the diff and various links, among which the PR the commit was in.
There's also a short video here that shows what I just described.