Document Stats Report Macro
Overview
Permissions
Anyone can see this report.
Adding the report
To add the report to a page, choose the Document Stats Report macro.
In the editor, either
choose Insert → Other Macros → Reporting → Document Stats Report
or type {Document Stats ... on the page and select {document-stats-report}
choose Edit
choose report filters and the display column settings
The document-stats-report macro can be used with the Confluence chart macro to graphically display the count.
Customizing the report
Edit the Document Stats report macro to customize the report by
You can choose to filter the state count for the content by
label(s)
parent
space(s) using the space key
If you add multiple labels, the report displays the state information for content with each label. If you want to display information for content that must have all the specified labels, add the & (the and ampersand) operator in front of the first label in the list
You can customize the macro to display one or more states.
The report also includes the state count for content if the workflow history was retained when the workflow was removed.
Customize the displayed columns
Filter the report
In the macro editor, select options to filter the report. These include options to filter by state, space key, workflow, label, or parent page - see table below).
Report filters
The filters are listed alphabetically in the macro editor.
Setting | Default | Notes | Version |
---|---|---|---|
Label | blank | Should the report be filtered by content label(s)?
Using a list of labels, you can prefix the list with the & (the and ampersand) to require that the content has all the labels. Otherwise, it reports pages containing any of the listed labels. |
|
Parent page | blank | Report limited to child pages only of the space home page or specified page.
|
|
Ancestor page | blank | The report is limited to the descendant pages of the specified page.
If specifying an ancestor page, you cannot list multiple space keys. The report defaults to the descendant pages of the added page. | v2.4.0+ DATA CENTER |
Spaces | blank | Which space(s) are in the report?
The report defaults to the child pages of the added parent page. |
|
State(s) | blank | Should the report be filtered to a specific state or state(s)? A comma-separated list of workflows to be displayed. The count for all the content in the states in the scope of the macro editor settings is displayed.
The report includes the state count for content where the workflow was removed, but the workflow history was retained. |
|
Workflow | blank | Should the report be filtered to a specific workflow(s)? A comma-separated list of workflows to be displayed.
If left empty, the report consists of the state count for content where the workflow was removed, but the workflow history was retained. |
|