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

    • Suggestion
    • Status: Gathering Interest (View Workflow)
    • Resolution: Unresolved
    • None
    • JQL
    • None
    • 124
    • 11
    • 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
    • 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.

    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

              Unassigned Unassigned
              llee2@atlassian.com Lenard Lee
              Votes:
              302 Vote for this issue
              Watchers:
              151 Start watching this issue

              Dates

                Created:
                Updated: