Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-66339

Not possible to search for topics with special characters in Questions for Confluece

XMLWordPrintable

      Issue Summary

      Not possible to search for topics with special characters in Questions List macro

      Environment

      Confluence Cloud + Questions for Confluence

      Steps to Reproduce

      1. Create a question with a topic titled 'test-123'
      2. Create a page with a Questions List macro
      3. Inside the macro options, select the option Any under topics
      4. Enter the 'test-123' topic

      Expected Results

      Questions with the test-123 topic are returned.

      Actual Results

      No questions are returned.

      The below error is thrown in the browser's console log:

      {
          "statusCode": 400,
          "data":
          {
              "authorized": false,
              "valid": true,
              "errors": [],
              "successful": false
          },
          "message": "Could not parse cql : type=\"ac:com.atlassian.confluence.plugins.confluence-questions:question\" AND label in (test-123) order by created desc, title"
      }
      

      (Optional - If Necessary)

      Workaround

      Insert the topic surrounded by "" (double-quotes):

      "test-123"
      

              Unassigned Unassigned
              lmartins Lucas Lara Martins
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: