Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find a Pull Request on Bitbucket where a commit was originally created

Tags:

git

bitbucket

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?

like image 909
Matt McCormick Avatar asked Sep 05 '25 03:09

Matt McCormick


1 Answers

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.

like image 119
Phortran Avatar answered Sep 07 '25 17:09

Phortran