Searching for macro names on REST API gives 400 response

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      Searching macros by their names utilizing the search API gives a 400 response when the macro name has more than 1 (one) word.

      Steps to Reproduce

      1. Add macros on a page (macros need to have more than 1 word for their respective names)
      2. Search them using CQL

       

      https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search/#api-wiki-rest-api-search-get

      https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/#macro

      Expected Results

      We expect the API to return us the proper macros, instead of a 400 (Bad request) error.

      Actual Results

      Below is the API response:

      com.atlassian.confluence.api.service.exceptions.BadRequestException: Could not parse cql 

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Gabriel Vilhena
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: