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

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

762 views 23 12
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