Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Extend pull request text search to include branch names

sahil trambadiya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 31, 2025

Currently, the pull request search bar in the Bitbucket UI only matches text from the title and description of a PR. This means if a user searches for a branch name (e.g., hotfix/NOX-986), the PR is not found unless the branch name is manually included in the PR title or description.

Requested Enhancement:

  • Include source branch name and destination branch name in the scope of the pull request text search.

  • This way, searching for feature/abc-123 or hotfix/xyz directly finds the relevant pull request, even if the branch name is not mentioned in the PR title/description.

Benefits:

  • Makes it easier and faster to locate PRs by their branch.

  • Reduces reliance on teams manually adding branch names into PR titles.

  • Improves developer workflow in repositories with many active branches and PRs.

2 answers

2 votes
Akriti Sagar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 1, 2025

Hi Sahil, that’s a great suggestion. Currently PR search only looks at titles and descriptions, so branch names aren’t included. Adding source/destination branches to the search scope would really improve workflows — I’d recommend raising this in the Product Ideas portal so the team can track it.

sahil trambadiya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 3, 2025

Thanks for the suggestion! I’ll raise it in the Product Ideas portal so the team can consider it. This feature would definitely make searching PRs much easier.

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 2, 2025

Hi Sahil and welcome to the community!

Thank you for your detailed suggestion. I can create a feature request in our issue tracker, I would just like to ask for clarification on the following before I do so:

  • Are you looking for this feature in the search Pull requests page of a workspace (https://bitbucket.org/<workspace-id>/workspace/pull-requests/), of a repo (https://bitbucket.org/<workspace-id>/<repo>/pull-requests/), or both?
  • On the pull requests page of a repo, there is a dropdown allowing you to filter for target branch. If your request concerns the pull request search of a repo, would you still like us to extend the PR text search scope to include branch names, or would it be more convenient to have an additional dropdown for filtering by source branch?

Kind regards,
Theodora

sahil trambadiya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 3, 2025

Hi Theodora,

Thanks for your quick response.

I need this feature mainly on the repo pull request page. It would be even better if it could also be implemented on the workspace pull request page.

Regarding the filter options:

Yes, there is a target branch filter, but no source branch filter.

Adding a source branch filter could help, but it still has limitations because once a branch is deleted after the PR is approved, it won’t appear in the filter anymore (this is the same issue with the target branch filter as well).

That’s why extending the PR text search to also include source and target branch names would be ideal. It allows us to quickly find PRs by branch name directly in the search box without worrying about deleted branches or missing filter options.

Kind regards,
Sahil

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 3, 2025

Hi Sahil,

Thank you for the feedback.

I went ahead and create a feature request in our public issue tracker:

Please make sure you add your vote to that feature request (by selecting the link Vote for this issue) to increase the chances of this being implemented. You are more than welcome to leave feedback, and you can also add yourself as a watcher (by selecting the link Start watching this issue) if you'd like to be notified via email on updates.

Implementation of new features is done as per our policy here and any updates will be posted in the feature request.

Please feel free to let me know if you have any questions.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events