Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and Data Center
  2. JRASERVER-66244

As a Jira user, I want to be able to run a JQL search with special characters

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Gathering Interest (View Workflow)
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: JQL
    • Labels:
      None
    • UIS:
      145
    • Support reference count:
      11
    • Feedback Policy:
      We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.
    • Current Status:
      Hide
      Atlassian Update – 11 May 2019

      Hi everyone,

      Thank you for highlighting the inconsistency in our documentation. We've updated the documentation regarding special characters in Jira 8.x and 7.x releases as described in JRASERVER-63730.

      You cannot search for special characters because they're not stored in the index. The index only keeps text and numbers. In versions before 8.x you could use special characters to combine two separate terms into a phrase, for example "Jira+Software" or "Jira/Software". The exact phase search has changed in JIra 8.0. You can check our documentation for more details.

      Katarzyna Derenda
      Product manager, Jira Server

      Show
      Atlassian Update – 11 May 2019 Hi everyone, Thank you for highlighting the inconsistency in our documentation. We've updated the documentation regarding special characters in Jira 8.x and 7.x releases as described in JRASERVER-63730 . You cannot search for special characters because they're not stored in the index. The index only keeps text and numbers. In versions before 8.x you could use special characters to combine two separate terms into a phrase, for example "Jira+Software" or "Jira/Software". The exact phase search has changed in JIra 8.0. You can check our documentation for more details. Katarzyna Derenda Product manager, Jira Server

      Description

      Problem Definition

      Unable to search using JQL for strings containing special characters. The proper escape characters were used. Example of string:

      [Toto]
      

      Search using JQL below:

      summary ~ "\\[Toto\\]"
      
      Expected Results
      1. [TOTO] test 1
      2. Test 2[Toto]
      3. [Toto]test 3
      Actual Results
      1. [TOTO] test 1
      2. Test 2[Toto]
      3. [Toto]test 3
      4. toto test 4
      5. "toto" test 5

      As seen from the actual results, searching for :

      summary ~ "\\[Toto\\]"
      

      is the same as searching for

      summary ~ "Toto"
      

      Suggested Solution

      Allow JQL searches with special characters.

      Workaround

      Search using the custom field ID instead. The custom field ID is usually shown beside the custom field name when typing it in Advanced Searching.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              llee2@atlassian.com Lenard Lee
              Votes:
              217 Vote for this issue
              Watchers:
              119 Start watching this issue

                Dates

                Created:
                Updated: