-
Suggestion
-
Resolution: Unresolved
-
None
Problem Definition
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.
Suggested Solution
(This feature would mainly be needed for the Pull requests page of a repo, but it would be ideal to have it in the workspace Pull requests list as well.)
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.
The pull request text search should include the names of deleted branches (at the moment, the Target branch filter that exists in the repo's Pull requests page doesn't show deleted branches).
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.