Show macro usage in confluence 4


is there any plugin, macro, etc. for showing how much a macros are used and if, on which sites?

There was a plugin called some days, but outdated as it no longer works on confluence 4 ;(

This would be a great help to get a list of plugins never used and shouldn't maintained any more in the current installation.

1 answer

1 accepted

6 votes
Accepted answer

Hi there,

I'm sorry to say that there isn't a macro or plugin that does this anymore for Confluence v4 but I have opened a feature request to ask that it is added to a future version of Confluence:

As a workaround, reproduced from this site, you can search for a macro can be done by entering the following string into the Confluence search box, (where x is the name of the macro):

macroName: x*

Notes for those implementing this workaround:

  • The key word is case sensitive. It must be “macroName”, and not “macroname” or any other variation.
  • There is a space between the colon and the macro name.
  • The macro name (x, include, excerpt-include, and so on) is the value that you supply in wiki markup. (It is the name of the macro as defined in the “atlassian-plugin.xml” file.)
  • The asterisk at the end of the macro name is required, to ensure that the search picks up all references. (Evidently the reason for this is that the value in the query is stemmed, but the value in the Lucene index is not stemmed. The asterisk will prevent the stemmer from kicking in.)

All the best,

This workaround is great for getting a quick view for a single macro, thank you for digging this out

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

503 views 3 18
Read article

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