document-states-report macro
Overview
The document-states-report
macro creates custom reports on workflow states, reviews, and tasks.
Where to use it?
One or more document-states-report
macros can be used in wiki pages, blog posts, and, in some cases, comments.
see Reporting Guide > Reporting Macros > Document States Report Macro
The report macro can also be used in any macro that supports wiki content in its Macro body (check relevant macro documentation for details).
From v7.3.0 approval based filters are no longer included in the document-states-report macro. Approval information and filters for the approval name, approval status, and approval assignees are available in the document-approvals-report macro.
Parameters
Parameter | Required | Default | Notes | Ver |
---|---|---|---|---|
|
| The report columns displayed in the UI on the content can be set to be one or more of the following: | ||
From Comala Document Management 6.13.0 the following columns are available
+ | v6.13+ | |||
From Comala Document Management 6.16.0 the following additional columns are also available
| 6.16.0+ | |||
Columns are displayed in the order the items are added in the macro editor. The following column headings are sortable in the UI of the report (from v6.16.6+)
| ||||
| all | Filter report for specific named content. | ||
| all | You can provide a comma-separated list of CQL filters – the values must be indexed. The only workflow CQL searchable fields are those listed in Comala Document Management CQL Rest API page together with the Atlassian Confluence CQL fields
Other Atlassian CQL resources
| ||
v6.16.7+ | ||||
| Should the report be filtered by content label(s)?
If using a list of labels, you can prefix the list with | |||
| 20 | The number of results to show per page. | ||
|
| What order should results be sorted in?
| ||
| Should the report be filtered to a specific parent page and the child pages of the specific page?
| |||
|
| Defines the value to sort by with the following options
| v7.2.1 | |
|
|
| Defines the order of the sorting as either
| v7.2.1 |
| current space | Which space(s) should be included in the report?
| ||
| all | Should the report be filtered to specific state(s)?
| ||
| all | Should the report be filtered to states in a specific workflow(s)?
|
from Comala Document Management v7.3.0., the following filter parameters for approvals are available in the Document Approvals Report macro These filtered are no longer available in the document-states-report macro.
approvalName
- filter report on the name of an approvalapprovalsAssignedTo
- filter the report to one or more users assigned to an approvalapprovalStatus
- filter the report to the approval status of named approval in approvalName parameter