Filter by custom field select values
What does this MR do and why?
- Add filtering for custom fields on issue list
- Add EE overrides for
convertToUrlParams
,convertToApiParams
, and some of their friends
Screenshots or screen recordings
How to set up and validate locally
Easy way:
Apply diff
diff --git a/ee/spec/features/issues/filtered_search/filter_issues_by_custom_fields_spec.rb
b/ee/spec/features/issues/filtered_search/filter_issues_by_custom_fields_spec.rb
index 3b67d35e473a..d41f42a0701a 100644
--- a/ee/spec/features/issues/filtered_search/filter_issues_by_custom_fields_spec.rb
+++ b/ee/spec/features/issues/filtered_search/filter_issues_by_custom_fields_spec.rb
@@ -31,6 +31,8 @@
click_filtered_search_bar
+ live_debug
+
aggregate_failures do
within_testid('filtered-search-input') do
expect(page).to have_content(select_field.name)
WEBDRIVER_HEADLESS=0 bin/spring rspec ee/spec/features/issues/filtered_search/filter_issues_by_custom_fields_spec.rb:29
Other way
- Enable
custom_fields_feature
flag - Add a Single or Multi select custom field for a top level group
- Go to Issue list list page
- Filter by the custom field
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 Simon Knox