adding a filter to the Page Properties Report Macro

Deleted user February 17, 2017

This question is in reference to Atlassian Documentation: Page Properties Report Macro

HI,

I created a page properties report, and it is great. It displays the million pages i have with the relevant metadata ( properties). Now i want to be able to filter this table based on the properties in the table. However i only have the option to sort, not filter. Please assist!

And also, how do I add automatecly add predefined selection option and turn them into labels, like you do here on this question form,
When i open a new question, i need to select between the different parameters:

My questions is about JIRA/COnfluence?Hip CHat

Deployment: Server/cloud
Audience.... etc.
based on what i select, the labels change. 
How do I do it?

Thanks,

3 answers

3 votes
Cam Mckerral
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 11, 2019

I realise this is an old post, but it seems you can now use a logical operator (AND/OR) with the "including text" filter - such as "|Status|Open| AND |Project|Stuff|" - which seems to meet your needs Rob Woodgate.

Rob Woodgate
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.
June 13, 2019

Hi Cam,

Do you mean you can use AND and OR within the text of the filter?

(And what are the pipes for?)

scott_boisvert
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 22, 2020

This works if you're searching for a specific text. Any idea how to do this if you're looking for a field that hasn't been populated, the field is empty?

@Rob Woodgate The pipes are the column and the text you're looking for.

EX. |Column Name|TEXT|

Like Diogo Melo likes this
Dean Robinson July 22, 2022

@Cam Mckerral - I am trying to do this with our version of Confluence where I want to filter the page properties report content based on the value of a field, but I cannot seem to get it to work. I have populated the "including text" filter with |Status|Review| - but it does not seem to apply the filter. Any idea if this capability exists?

Elvar Böðvarsson
Contributor
March 22, 2023

Had this issue and the solution is to have the filter within quotation marks

Instead of just |Status|Review| have it "|Status|Review|"

Kevin Portman
Contributor
September 28, 2023

To add to the great answers above, and combined with the information on CQL - https://support.atlassian.com/confluence-cloud/docs/insert-the-page-properties-report-macro/#CQL-fields - I used the following to split my Page Properties reports into active and inactive tables:

Active: "|Status|Done|" OR "|Status|Closed|" OR "|Status|Resolved|"

Inactive: -"|Status|Done|" OR "|Status|Closed|" OR "|Status|Resolved|"

Note: the NOT clause applies to the whole set, so you don't do -"|Status|Done|" AND -"|Status|Closed|" ;)

*Multiple statuses because of users across multiple teams working with different terms :|

Like # people like this
Rachel Bedi November 8, 2024

I am on Confluence data server and attempting to filter on the Status column in my page properties report as you've outlined above, I have tried both with and without quotations (single word statuses) and receive a "no content found" when the filter is applied (this is the case both with an OR statement for multiple status, and tested with a single status without an OR statement). Is the above only applicable with Confluence Cloud? 

3 votes
Amit Kumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 7, 2017

Hi Maria,

You can use the table filter macro to filter the page properties report.

  • Insert a table filter macro on your page.
  • Drag and drop your page properties report report inside the table filter macro
  • Edit table filter macro, use filter tab to add column filter
  • Go to filteration tab and use "set filters' defeult value" to assign per populated values to your filters

Hope you find this useful.

tcroots78 November 13, 2017

Hi Amit, I was looking to add the table filter macro, but I couldn't find it. Can you give me more details on how to add it?

Andrey Khaneev _StiltSoft_
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.
November 13, 2017

Hi John,

You can find Table Filter macro at Atlassian Marketplace.

Like Stiltsoft support likes this
Martin Cleaver
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.
August 3, 2019

Note Confluence will still first retrieve all records. On the page Table Filter will hide those not matching. Use sparingly - doesn't scale well with and imposes a load.

0 votes
Rob Woodgate
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.
February 19, 2017

Hi Maria,

To filter in the Page Properties Report you have to use the filter options in the macro.  There are no filter options in the table itself.

Deleted user February 22, 2017

Thank you, But the filter options within  the macro are very limited. For example, I can't use " include text" twice. Making it impossible to combine filter parameters. Are there any workarounds to it? Are there any Add-Ons to it? 

Thanks,

Rob Woodgate
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.
February 22, 2017

Hi Maria,

Unfortunately there aren't any workarounds or specific page properties add-ons (that I'm aware of).  There are quite a few table add-ons that allow you to add filter rows, etc - perhaps one of those would work?

tcroots78 November 14, 2017

Is there a way to suggest that this be added? It seems like filtering to only see properties one wants would be incredibly useful in cases with many pages, like Maria's and mine.

Like Ketenbeheer eHerkenning likes this
Igor DeFaye
Contributor
February 24, 2021

It's been several years and this feature is still lacking. Is there any improvement plans or is this just a stale macro ?

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events