Uploaded image for project: 'Central AI/Rovo'
  1. Central AI/Rovo
  2. AI-712

Enhance CQL to search pages without labels.

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem definition

      In CQL, we can search for pages with specific labels with the below criteria.

      https://xxxxx.atlassian.net/wiki/rest/api/content/search?cql=type=page and label =' some label'

      However, it is not possible to search for pages that do not have labels.

      Steps to replicate

      1. Invoke Confluence REST API https://xxxxx.atlassian.net/wiki/rest/api/content/search?cql=type=page and label =' some label' on a space that has some labels. The query will return the page URLs.
      2. Now modify the REST API to search for pages without labels.(try label='', label=null etc). The label criteria will be ignored in the query.

      Suggested solution

      Enhance CQL so that it can search pages without labels.

            Unassigned Unassigned
            smathew3@atlassian.com Sajan M
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: