Skip to content

Search comments of merge requests during Advanced Search

What does this MR do and why?

Search comments of merge requests during Advanced Search

Following the example of the searching the comments of an issue during advanced search usage, expand the capabilities to Merge Requests.

GitLab Issue: Advanced merge request search should allow sear... (#572590) GitLab Epic : &17599 Changelog: added

References

Screenshots or screen recordings

Set up the MR
image.png
Before After
image.png image.png

How to set up and validate locally

  1. Create a merge request with a comment that contains some text

  2. Navigate to the global search page with advanced search enabled, select the Merge Request scope

  3. Search for the text and see that no results are returned

  4. In rails console enable the feature flag

    Feature.enable(:search_merge_request_queries_notes)
  5. Refresh the search page and see that a merge request was populated by the search

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Joe Snyder

Merge request reports

Loading