Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-23849

Extend pull request text search to include branch names

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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.

              Unassigned Unassigned
              tboudale Theodora Boudale (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: