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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,474 views 25 10
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