How to restrict Reporting for Confluence results to a specific page

How to restrict Reporting for Confluence results to a specific page

This article provides a solution to restrict the report results to a specific page and explains the limitations for filtering the current page via CQL within the Reporting for Confluence app.

Instructions

The query logic in Confluence Cloud relies on CQL and specific report templates rather than the local-reporter and report-info structure used in Data Center.

  1. Edit the Reporting macro.

  2. Expand the Filters tab.

  3. Add a filter using content.title.

The content.title field is limited to the page title and only returns results for the current page. These limitations are defined by Atlassian's APIs for filtering data.

Refer to this document for more details: https://developer.atlassian.com/server/confluence/expansions-in-the-rest-api/

Due to this limitation, functions like currentpage() can't be used.