How to change macro name showing in list of suggested macros?

Anyone know how to change the customized macro name in the list of suggested macros (dropdown menu), which will be called by type "{" and the macro name?

I've tried add key/value pair on .properties file, like "groupid.artifactid.macroname.label = new macro name" , but not working.

Any ideas?

Thanks a lot :-)

Screen Shot 2018-01-24 at 5.04.51 PM.png

1 answer

1 vote
Ann Worley Atlassian Team Jan 25, 2018

Most macros are part of Confluence system plugins or third party add-ons. You would have to modify the plugin code to change the name that appears in the macro browser. Every time you upgrade you would need to do it again.

If the macro name you want to change is a User Macro, you may change it at Confluence Admin>User Macros>Macro Browser Information>Macro Name.

Thanks Ann. I made it by changing the macro name in atlassian-plugin.xml file.

Ann Worley Atlassian Team Jan 26, 2018

That is very cool, thanks for following up! I am hoping you can help out the next person with the same use case by posting as an answer under Suggest an Answer: what tool you used to edit the .xml file, and how you modified it to change the macro name?

Then either accept your answer (checkbox) or I can accept it. That way, when people search in Google it will show as solved and people who click on it will be able to see just how you did it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

707 views 2 13
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