Maybe using Page Properties and the Page Properties Report macro might be a proper way for your use case. Have a look at the documentation e.g. https://confluence.atlassian.com/doc/page-properties-macro-184550024.html