document-approvals-report macro
Overview
V7.3.0 Data CENTER
The document-approvals-report
page macro creates a report that displays workflow approvals including approval workflow state, approval name, approval status, approvers, pending approvers, and last page update
Where to use it?
One or more document-approvals-report
macros can be used in wiki pages, blog posts, and, in some cases, comments - see Reporting Guide > Report Macros > Document Approvals Report Macro.
It can also be used in any macro that supports wiki content in its Macro body (check relevant macro documentation for details).
If a workflow approval is completed and a transition to a new state occurs, the document approvals report does not display information for this approval.
Approvals shown in the report belong to the current state of a page.
For instance, if no approval transition has been added for the state, or if multiple approvals are required for the transition to happen.
Parameters
Parameter | Required | Default | Notes | Ver 7.3.0 |
---|---|---|---|---|
|
| blank | Which approval should be displayed in the report?
The approval name is that defined in the approval macro. The approval name is shown in the workflow popup during content reviews. A value for the approval name must be entered if the Approval Status filter is set. | |
| No | ANY | Report on approval with the selected status.
Approval status is set as one of
The macro does not list pages with approvals in the Rejected or Approved status if a transition from the workflow state containing the approval has occurred. | |
| No | blank | Filter report to a named user assigned as an approval reviewer.
| |
|
| Default - see notes. | The report columns in the rendered report on the page. Default report macro columns displayed are
The following columns are always displayed as first three columns of the report
One or more of the remaining listed columns can be added or omitted for display in the rendered report. |
|
| No | blank | You can provide a comma-separated list of CQL filters – the values must be indexed.
Filters can be added using Confluence CQL format and can include OR and comparison operators. Other Atlassian CQL resources
|
|
| No | blank | Filter the report by content label(s)
Prefix the label list with & (ampersand) to require that pages have all the labels. Otherwise, report includes pages containing any of the listed labels. |
|
|
| 20 | The number of results to show per page. |
|
| No | blank | Parent page of pages included in the report
|
|
| No | blank (current space) | Which space(s) should be included in the report?
|
|
| No | blank (all) | Reports on the approvals in the added workflow state(s) in the applied workflows.
| |
| No | blank | The approvals in pages for a named workflow or workflows (in the scope of the macro parameters is listed).
If no workflow title value is added the approvals for all states for all workflows in the current space is reported including pages where the workflow has been removed, but workflow document activity history has been retained. |