Automatic Warning if Label Applied

I would like to provide users with an easy way of labelling out of date content in our Confluence site, and have a clear message displayed at the top of labelled pages so that other people know to tread carefully.

It's easy enough to have a standard label, and use contentbylabel to hold a list of pages needing attention, but is there some way of automatically including a warning box at the top of pages with that label? Ideally something space-wide.

Thanks in advance

1 answer

1 accepted

0 votes
Accepted answer

Hey Neil,

I'm actually looking into the same thing right now. My plan is to use a macro to show content based on a label (thus conditionally showing a warning box as you mentioned), along with a custom template for all pages in the given space which has the given macro at the top. That's the best I've been able to come up with so far. My ideas are based on these links:

I'm working with one of my Confluence admins to see if I can get this wired up. If I have any success, I'll reply to this post and let you know.

Good luck!

Hi Jazz

Thanks for pointing me at the if-label page. This, and the config options on the Documentation Them, give me exactly what I need (i'm currently on quite an old version of Confluence).

Thanks again,

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

120 views 3 4
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