Autmatically add a specific label to the page when a user inserts a user macro?

In our Confluence wiki I would like to create some specific macros to be used for instance for a project that is still under review.

I would like the user to be able to add the user macro, for instance called {UnderReview}. When this macro is inserted I would also like a "underreview" label to be added to the page so we can list those pages easily. I prefer this to be part of the user macro so users can not forget this as this is automatically done.

I am used to mediawiki where you could just insert a category in your user macro by simply adding [[Category::UnderReview]].

I have not found a method to do so with Confluence. Here is an example of the source of such a macro in a mediawiki setup:

Is this possible? And how would I do so?

2 answers

1 accepted

That might be a very good solution, unfortunately I can not test it as it is not (yet) compatible with version 5.2 (we are running 5.2.3 ATM) as is written in the comments at

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,565 views 26 14
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