Should the report be filtered by content label(s)?
If using a list of labels, you can prefix the list with
|Parent page||blank (current space home page)|
Report limited to child pages only of the space home page or specified page.
If specifying a parent page you cannot list multiple space keys. The report will default to the child pages of the added parent page.
|In space||blank (current space)|
The comma-separated list of space keys to filter.
If multiple spaces are specified, the table will count all content
|States(s)||blank (all states)|
A comma-separated list of states to be displayed. The count for all the content in the states in the scope of the macro editor settings are displayed.
The report will include the state count for content where the workflow has been removed but the workflow history has been retained
|Workflow(s)||blank (all workflow states)|
A comma-separated list of workflows to be displayed.
If left empty then the report will include the state count for content where the workflow has been removed but the workflow history has been retained
document-stats-report macro can be added to the Confluence chart macro to display the report information.
The Chart macro assumes the first column, 0, is a series name, but the Document Stats Report macro uses it for the first state.
For example, to display the following four workflow states Editing, Approved, Published, In Progress, in the macro editor for the Confluence Chart macro add the following to Columns dialog box
This will display a total of 4 columns or 4 pie segments.
Why are old states shown?
If the table shows states from old Comalatech workflows that are no longer used, purging the space trash should solve the problem (deleted pages in the trash retain their workflow information).