Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

SSchoepel
Contributor
March 12, 2015

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

1 vote
Dave
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 12, 2015

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

0 votes
SSchoepel
Contributor
March 12, 2015

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 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
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 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}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events