Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in JIRA search-request-view plugin worker

Anar Ibragimoff
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 22, 2020

Problem is:

search-request-view plugins (implements com.atlassian.jira.plugin.searchrequestview.SearchRequestView) are not executed when search query contains some unicode characters.

Steps to reproduce:

  1. create plugin with search-request-view module using SDK:
    atlas-create-jira-plugin-module > .. > "17. Search Request View"
  2. package and install on Jira
  3. in Jira, perform search for issue, where query contains some non-ascii character. For example: summary ~ "Über"
  4. Execute plugin by calling option Export -> MyPlugin

Expected result: plugin writeSearchResults() method to be executed

Real result: 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.

Issue appeared after Jira update to 8.5.0 -> 8.8.0, and reproducible with new 8.9.0

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.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events