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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

1,020 views 23 13
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