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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

96 views 12 6
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