Content Filter


This filter will ensure that the specified prefix:key value matches the required Confluence content value.

It will check if the specified key chain value matches the criteria, such as its space, type, scope or labels. These options are very similar to those provided by the Content Reporter, but can be used in other contexts.

This macro must be used within a reporter macro.


NameRequiredAvailable InMigratable to Cloud?Default ValueDescription

[default] /key


Server, Data Center

The key value to filter on. May be @self to filter on the current report item.



Server, Data Center


The list of spaces to search in. Each space may be prefixed by either "+" (to indicate the space is required) or "-" (to indicate the space must be excluded). May be one of the following:

  • @self - (default) The space the current content is in.
  • @personal - Personal spaces only.
  • @global - Global spaces, that is, non-personal spaces.
  • @all - All spaces, both global and personal.
  • SPACE KEY - Any other space key may be specified explicitly.



Server, Data Center


The list of content types to allow. Each type may be prefixed by either a "+" (to indicate it is require) or "-" (to indicate it must be excluded). May be any of the following: 

  • page
  • news
  • comment
  • attachment
  • spacedescription



Server, Data Center

List of pages, news items, etc. which are in scope.

If the content is a page, the scope can be expanded to their children, descendants or ancestors:

  • > children - The direct children of the specified page. e.g.: "scope=My Page > children"
  • > descendents - All descendants of the specified page. e.g.: 'scope="My Page" > descendents'
  • > ancestors - All ancestors of the specified page. e.g.: "scope=My Page > ancestors"



Server, Data Center

List of label checks.

e.g.: "one, +two, -three" would list content which has the "two" label but not the "three" label.



Server, Data Center


If set to false, content matching any of the criteria will be matched. 

Editor View


Display all children with the 'foo' label




Tutorial Examples