It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to find pages in Confluence space with no label

We have a Confluence space with ~200 pages that are categorized into 7 types of labels.

In order that I don't miss any new ones,... is there an easy way to find pages with no labels in a space?

Our Confluence is not managed by us (or Atlassian), so we can't update the database directly.  Any plug-in would have to be free.

4 answers

4 votes
Davin Studer Community Leader Oct 22, 2014

@Stephen Deutsch answer is a good one. If you get more labels that could be problematic. I think this should work for any number of labels.

type:page NOT labelText:[a TO z] NOT labelText:[0 TO 9]

This does not work for me.

  • "labelText:faq" gives me the correct pages.
  • "NOT labelText:faq" gives me the same pages
  • "-labelText:faq" gives me the same pages.
  • "labelText:[a TO z] correctly gives me all pages with labels
  • "NOT labelText:[a TO z] also gives me all pages with labels
  • "type:page" gives me all the pages with "page" in them.
  • "type:page NOT labelText:[a TO z]" gives me all pages with "page" -- but those with no labels.

I'm using Confluence 6.3. (I don't think it's the cloud version).

I think it's the same issue as with JQL, you can't negate label searches unless you negate each label individually.

If you only have seven labels on your space that you want to filter, you could at least search for pages without those seven labels.  Simply use this search term (example is for 3 labels, but you could use it for more):

(type:page NOT labelText:"label1") AND (type:page NOT labelText:"label2") AND (type:page NOT labelText:"label3")

Simply copy and paste from the last "AND" until the end to add a new label to the search.  You can filter by space on the left-hand side of the search page.

More likely than not, you could have Atlassian run a query for you.  My experience has led me to believe this is otherwise not possible with the tools provided by Atlassian.

Atlassian do not administer our Confluence, but yes, I see your point.  We could request a report.

 

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

72 views 0 9
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