Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
8.8.0, 8.9.0
-
8.08
-
2
-
Severity 3 - Minor
-
0
-
Description
Issue Summary
search-request-view plugins (implements com.atlassian.jira.plugin.searchrequestview.SearchRequestView) are not executed when search query contains some unicode characters.
Environment
Issue appeared after Jira update to 8.5.0 -> 8.8.0, and reproducible with new 8.9.0
Steps to Reproduce
- create plugin with search-request-view module using SDK:
atlas-create-jira-plugin-module > .. > "17. Search Request View" - package and install on Jira
- in Jira, perform search for issue, where query contains some non-ascii character. For example: summary ~ "Über"
- Execute plugin by calling option Export -> MyPlugin
Expected Results
plugin writeSearchResults() method to be executed
Actual Results
- error page with text: "HTTP Status 400 – Bad Request. Error in the JQL Query: The character 'U+009C' on line 1 at position 13 must be escaped. Use the escape '\u009c' instead. (line 1, character 13)".
- None of plugin class methods is invoked, as error page seems to be rendered earlier.
Note
native export functions work without issues, but they seems don't implement com.atlassian.jira.plugin.searchrequestview.SearchRequestView and called differently than user-plugins.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available