Search comments of merge requests during Advanced Search
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
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 |
---|
![]() |
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
-
Create a merge request with a comment that contains some text
-
Navigate to the global search page with advanced search enabled, select the Merge Request scope
-
Search for the text and see that no results are returned
-
In rails console enable the feature flag
Feature.enable(:search_merge_request_queries_notes)
-
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.