Scan Confluence 5.x for all the macros used in a space or entire instance


Is there a way to scan a space or the entire instance for all the macros used? I know about the macroName search; but I don't want to search for one macro at a time.

Any help is greatly appreciated!

1 answer

1 accepted

Hi there!

I believe confluence doesn't have this functionality embedded. Sometime ago, there was a plugin that could perform this called macro usage stats plugin, which is not compatible with the newer versions of confluence.

The only way today to search for a macro in confluence is to either search using macroname <name> or by searching directly in the database as stated in this answer.



Hi back!

Thanks for the information. I took a look at the script. Does it create a report of all macros used? I don't want to search for "one macro", I want to see all the macros used without searching for them one at time which is time prohibitive.

Thanks :)


The old plugin was the only way I know it could find all macros in confluence. Today, I only know this workaround which will find one macro in all pages at a time. It's a time consuming task though if you have multiple macros.

Cheers :)


Thanks for the information. Sorry to hear such a useful macro is no longer supported. I'll just have to make the time to do one macro at a time.

Cheers right back at ya and thanks again! :D


You are welcome Rosemary. :D

Feel free to close this question as answered if my answer had helped you at least pointing to the right place. :)


Hi, even though this isn't exactly what I'm looking for, it's definitely the closest I'm going to get to finding macros. Thanks for your help! :)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

255 views 11 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you