Details
-
Bug
-
Resolution: Fixed
-
High
-
42
-
Severity 3 - Minor
-
31
-
Description
Summary
If the saved filter's name has an hyphen or underscore on its name, the search will not work correctly in the View all filters page.
Steps to reproduce
- Perform an advanced search, save it as a name separated by hyphen (e.g. wa - moon);
- Navigate to Jira home -> Issues and filters -> View all filters;
Expected results
The filter should be retrieved in all of those search scenarios.
Actual results
The scenarios where the hyphen is included in the search do not work.
Workaround
Search by the first part of the name, or by the last one.
Notes
Impact on APIs
The same behaviour can be observed when using the /rest/api/3/filter/search API endpoint.
For example, if there are 2 filters in an instance called "Support Issues - ALL" and "Support Issues", the following happens:
- Not expected: when searching for "Support Issues - ALL" via the API ("/rest/api/3/filter/search?filterName=Support%20Issues%20-%20ALL"), the results only contains "Support Issues" }}and not {{"Support Issues - ALL" }}while only {{"Support Issues - ALL" should be returned{{}}
- Expected: when searching for "Support Issues" via the API ("/rest/api/3/filter/search?filterName=Support%20Issues"), both filters "Support Issues" }}and {{"Support Issues - ALL" are returned as expected because the filterName attribute does a partial match{{}}
Attachments
Issue Links
- is duplicated by
-
JSWCLOUD-18564 Hyphenation on Filter Name doesn't return Search result when creating a Board from filters
- Closed
-
JRACLOUD-40812 Cannot select filter in gadget
- Closed
-
JRACLOUD-59690 Filter Results gadget does not let me choose my saved filter
- Closed
- is related to
-
JSWCLOUD-18564 Hyphenation on Filter Name doesn't return Search result when creating a Board from filters
- Closed
-
JRACLOUD-71673 Searching for filters with a - (dash) followed by spaces returns all current filters
- Closed
-
JRASERVER-32218 Saved Filters not showing up in Filter Search
- Closed
- relates to
-
JRACLOUD-67815 'Filter Picker' can't find filters contain '-' (hyphen) in the filter name.
- Closed
-
EM-620 Loading...
- derives
-
BLU-145 Loading...
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...