Would like a way to view pages which *don't* have a label

We're starting to use Labels in a big way. We'd like to be able to go back through existing pages and find pages which *lack* labels.

Any way to do this? I tried displaying labels which match -* but * is not a valid label.

2 answers

1 accepted

I can think of two possible ways to do this:

1) Content by label, specifying all your labels with a "-".

2) Not easy, but better: If you have the beanshell macro, you can write Java in a user macro (or just on a page). You could then get a list of all pages, and go through them to find any without labels. I'm only giving you an outline of this because though I think I could write it, it would take me a while to track down all the pieces.

I'll have to try the beanshell macro idea. Thanks for that!

I wrote the following SQL just now and it gives a list of all pages which do not have a label.


With this list, we can either lookup each page by name or navigate directly by manipulating the following URL using the contetID (where XXXXX is the contentID)

http://<confluence URL>/pages/viewpage.action?pageId=XXXXXX


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
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

68 views 0 11
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