Entering special characters or whitespace in 'Linked Issues' search for Jira tickets in an Alert results in a 400 error

XMLWordPrintable

    • 1
    • Minor
    • 0

      Issue Summary

      When attempting to search for Jira tickets in the "Link issues" panel in an Alert (JSM Operations), entering certain special characters or whitespace, such as:

      !^*()-+\
      

      results in a 400 error.

      Steps to Reproduce

      1. Navigate to an Alert in JSM Operations
      2. Click on the "Link issue" icon or go to the "Linked issues" section of the Alert and click the "+" icon.
      3. Input any of the specified special characters or whitespace into the search field.

      Expected Results

      JSM should return search results based on the entered parameters without errors.

      Actual Results

      An error pop-up is displayed to the user.

      Network logs indicate a 400 error with the following response:

      {
          "errorMessages": [
              "The text query '<SPECIAL_CHARACTER> *' for field 'summary' is not valid: the '*' and '?' are not allowed as first character in wildcard query."
          ],
          "warningMessages": []
      }
      

      Workaround

      Avoid using the specified special characters or spaces in the search query. Instead, search using unique words.

      Adding text after a whitespace yields search results, but a trailing whitespace alone returns nothing.

            Assignee:
            Unassigned
            Reporter:
            Rex
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: