-
Bug
-
Resolution: Timed out
-
Low
-
2
-
Severity 3 - Minor
-
Issue Summary
When searching with a custom field that doesn't have a search template (search template is set to none) with JQL, we get the following error message.
Field '<customfield_name>' is not searchable, it is only sortable.
This error message is misleading as it suggests that the custom field is sortable. However, a custom field that is lacking a search handler, is neither searchable nor sortable.
So, trying to sort by the custom field also throws an error.
An unknown error occurred while trying to perform a search.
Steps to Reproduce
- Create a custom field [ Gear > Issues > Custom Fields ]
- Click the ellipsis button (...) on the newly create custom field and click "Edit Details"
- Select "None" in Search Template.
- Try searching using the custom field. Example JQL <Custom_field Name> IS NOT EMPTY
- Also try sorting by the custom field.
- using JQL. example: ORDER BY <Custom_field name>
Field '<customfield_name>' is not searchable, it is only sortable.
- Or, add the custom field as a column in issue search, then click the column header
An unknown error occurred while trying to perform a search.
- using JQL. example: ORDER BY <Custom_field name>
Expected Results
Since a custom field that is lacking a search handler, is neither searchable nor sortable, the error message should clarify that.
Actual Results
Field '<customfield_name>' is not searchable, it is only sortable.
The error message suggests that the custom field is sortable.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- relates to
-
MIG-1863 Support migration of Jira Misc Custom Fields (JMCF)
- Gathering Interest