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
Answer accepted

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
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...

983 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