Versions Compared

Key

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

...

This example requires the Appfire Reporting for Confluence app.

Example

The following report uses the {workflow-reporter} macro to list all the pages in the AWP space which have a current workflow state of For Review.

It then filters those results, using the date-filter, to only include pages that have been in the same state for more than two weeks (from the current date).

Code Block
languagetext
themeRDark
{report-table}
 {workflow-reporter:spaces=AWP|states=For Review}
  {date-filter:workflow:state > date|maxValue=-2w}
 {workflow-reporter}

 {report-column:title=Page}{report-info:content:title|link=true}{report-column}
 {report-column:title=Last published}{report-info:states > Published > date > dd/MMM/yyyy}{report-column}
 {report-column:title=Send for review on}{report-info:workflow:state > date > dd/MMM/yyyy}{report-column}
 {report-column:title=Last Updated}{report-info:content:modification date > dd/MMM/yyyy}{report-column}
 {report-column:title=Last Updated By}{report-info:content:modifier > full name|link=true}{report-column}
 {report-column:title=Tasks?}{report-info:workflow:tasks > 1 > name}{report-column}
 {report-column:title=Labels}{report-info:labels}{report-column}

 {report-empty}
  There are no pending pages
 {report-empty}
{report-table}

Output

...