Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Overview

Excerpt
hiddentrue

Comala Document Management extensions for CQL

The Comala Document Management app provides several new CQL fields that can be used to filter search results using Confluence Search REST API.

...

Panel
borderWidth2

(star) Confluence CQL-enabled search requires Confluence 5.9 or above

You can also use Confluence CQL filters in Comala Document Management reporting macros (Comala Document Management v6.16.6+)

CQL Fields

Include Page
CQL Fields
CQL Fields

CQL Field Search Example

To search for content where the current state is "Draft" (state=Draft), the REST API URL would look like:

Code Block
languagepy

...

http://<confluence_url>/rest/api/content/search?cql=state=Draft

Content Properties

Comala Document Management uses JSON Content Properties to store and keep track of workflows data and support the new reporting utilities (for version 6.0 and later).

Workflow information is available as an API expansion point using metadata.properties.comalaworkflows

Not all values provided in the current implementation may be supported in future updates but the following core values are unlikely to change.

Name

workflowName

currentState

currentStateColour

currentStateStart