How do I get a list of Confluence pages that *do not* have a specific label?

I'd like to get a report that shows labels that DO NOT have a particular label. Is there a way to do a "not" in a page report or other type of page listing macro?

3 answers

This widget could not be displayed.
Davin Studer Community Champion Mar 12, 2015

You could do a search like below. You could also use the search results macro to put it on a page. Just replace "{yourlabelhere}" with you label. The "/.*.*/" will return all pages and the "NOT labelText:{yourlabelhere}" will filter out any that have that label.

/.*.*/ NOT labelText:{yourlabelhere}
This widget could not be displayed.

Where do I put that? I tried it in the search field and in a content macro for a page. I got errors/nothing.

Davin Studer Community Champion Mar 12, 2015

Just put it in the top right search box. Keep in mind the "NOT" and "labelText" are case sensitive. So "not" or "labeltext" will not work.

This widget could not be displayed.

The Content by Label Macro will allow you to exclude labels using the "-" sign, I believe - https://confluence.atlassian.com/display/Cloud/Content+by+Label+Macro

Suggest an answer

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

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

370 views 2 6
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