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

0 votes
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}

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.

0 votes

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 Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,030 views 51 8
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