How to find Pages and Templates that use Scaffolding macros from database
This article is for the Server/Data Center platform. The SQL provided is for PostgreSQL. For other Database platforms, the SQL might need to be modified.
While you can use Confluence’s default “Macro usage statistics” to find the pages that use the macros, the information retrieved can’t be used as a report and does not include space templates.
This article provides easy-to-copy SQL to retrieve information directly from the database. You can also modify the SQL to get even more details if you need.
Instructions
This SQL will provide a list of impacted page authors and the relevant page titles that currently contain Scaffolding macros:
This SQL will provide a list of impacted page authors and the relevant template titles that currently contain Scaffolding macros: