Is it possible to list all pages with a given status?
Asked by John Noonan:

Our team likes this little button, but can't find a way to query to find all the pages in a given status.

![Screenshot 2022-07-14 165630.png](/t5/image/serverpage/image-id/206131i2A167FFBB3F38BE3/image-size/large?v=v2&px=999 "Screenshot 2022-07-14 165630.png")


Answers:
author: Andy Gladstone
body: [@John Noonan](/t5/user/viewprofilepage/user-id/4987215) Welcome to the Atlassian Community. The status 'lozenge' is currently a static object on the pages that you use it on, and is not queryable or subject to any automations. It is a brand new feature in Confluence Cloud - and there has been a lot of community feedback about making this object part of the page content that can be queried and reported on. Stay tuned for future updates on the Status Icon - but for now it can only be viewed on a pag by page basis.

Hope this helps!

comments: author: Andy Gladstone
body: [@John Noonan](/t5/user/viewprofilepage/user-id/4987215) please let me know if my answer assisted you. If it did, please click on the Accept Answer button so others looking for similar assistance can find it in the future.


author: Jodi Neufeld
body: +1 on being able to create reports based on page status!


author: matilde.dueholm
body: I just had a similar question, and someone lead me to this answer.  

I think for me/us it would be nice just to be able to see the status in the page overview. As we could then use it to get an overview of what needs to be review etc, to have a mini contant review/approval flow


author: Tauscher_H-D
body: +1 for searching by page status


author: Peter Bettens
body: +1 to query, and/or create a report based on these statuses! I'm investigating the use of Confluence for a pilot of ca 200 users (company \>1000 potential users). This a so nice, but missing feature...


author: Levente Szabo _Midori_
body: [@Peter Bettens](/t5/user/viewprofilepage/user-id/5175315) How many statuses do you use in your organization? Would the 5 slots for (centrally managed) content statuses offered by Confluence suffice?

Some relevant reading: I wrote an article on [Confluence page statuses](https://www.midori-global.com/blog/2023/04/28/confluence-page-status?utm_source=cac&utm_medium=cac-comment-2079539&utm_campaign=gh) with features and limitations in Confluence Cloud and how automatic page status updates benefit all teams.


author: Tauscher_H-D
body: [@Levente Szabo _Midori_](/t5/user/viewprofilepage/user-id/570444) The relevant reading does not seem to point to a solution to searching pages by a given status.

Please correct me if I am wrong.


author: Levente Szabo _Midori_
body: [@Tauscher_H-D](/t5/user/viewprofilepage/user-id/5085179)

1. You can use CQL to search for Confluence pages in a status. It mentions the [Content Status List macro](https://www.midori-global.com/products/better-content-archiving-for-confluence/cloud/documentation/content-status/macros?utm_source=cac&utm_medium=cac-comment-2079539&utm_campaign=gh) that allows you to search for and list pages in a given status:

![search-for-expired-pages-cql.png](https://community.atlassian.com/t5/image/serverpage/image-id/258590iEC7A57AD7379C494/image-size/large?v=v2&px=999 "search-for-expired-pages-cql.png")

2. If you continue exploring content about [Better Content Archiving for Confluence](https://marketplace.atlassian.com/apps/123/better-content-archiving-for-confluence?hosting=cloud&tab=overview&utm_source=cac&utm_medium=cac-comment-2079539&utm_campaign=gh), you will see that the [content status overview](https://www.midori-global.com/products/better-content-archiving-for-confluence/cloud/documentation/content-status/content-status-overview?utm_source=cac&utm_medium=cac-comment-2079539&utm_campaign=gh) is also a way to find Confluence pages in a status as it gives a figure for all existing statuses across your spaces:

![01-content-status-overview-cloud.png](https://community.atlassian.com/t5/image/serverpage/image-id/258597i312B7967A6176AC6/image-size/large?v=v2&px=999 "01-content-status-overview-cloud.png")


author: Tauscher_H-D
body: Thank you for clarifying that [@Levente Szabo _Midori_](/t5/user/viewprofilepage/user-id/4897) !


author: Paul Weiss
body: +1 For adding some ability to query on the status 'lozenge'. Definitely following this feature idea...


author: Max Foerster - K15t
body: Hi [@John Noonan](/t5/user/viewprofilepage/user-id/4987215) Welcome to the community! ??

Currently, you have no easy way to query pages based on their page status. Neither the Page Property Report macro nor the Confluence advanced search support page statuses. So the feature is great, but it's still missing essential features, like being able to easily edit the status as well. But they will hopefully follow over time.

If you are looking for this kind of reporting on pages and easily maintaining your content, I'd like to suggest having a look at our app [Orderly Databases for Confluence](https://marketplace.atlassian.com/apps/1227131/orderly-databases-for-confluence?hosting=cloud&tab=overview) on the Atlassian Marketplace.

The gif below shows you a snippet of a table in Orderly with linked pages and their page status (and some other metadata you usually add to pages), which you can not only view but also edit directly. Additionally, you can sort and filter based on that data, including page statuses. ?

![Page+Status+Short.gif](https://community.atlassian.com/t5/image/serverpage/image-id/206422iD42817F4E4427D22/image-size/large?v=v2&px=999 "Page+Status+Short.gif")

It's like tables and page properties but more powerful and smarter. ? We recently added support for the page status field to the app to work with it more easily internally and to have a workaround for the given limitations. ?

You can edit the page status inline on the page itself without opening the editor in the Orderly macro. It's very similar to the page property table, with more features.

![orderly_page_status_inline.png](https://community.atlassian.com/t5/image/serverpage/image-id/206425iDC443026FAA5BFD9/image-size/large?v=v2&px=999 "orderly_page_status_inline.png")

I realize this may not be the answer you were hoping for, but currently, even as a Confluence nerd, I don't know of a better way. ? If you have any further questions, let me know, and I will be happy to assist you.

Best, Max


author: Bill Bailey
body: Yes it is possible! You need to use the [page-properties-macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-page-properties-macro/) on each page, and have one value as your status. Then you can have a report using the [page-properties-report-macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-page-properties-report-macro/) to pull the information. I have used this structure many times as a way to store page attributes that can be easily queried.


author: Aron Gombas _Midori_
body: Because status is available in CQL as a field, you can write CQL queries to find all pages in a given status. And there are a few macros that accept CQL as configuration parameter, so you can insert those macros parametrized with the corresponding CQL to a page to have the list.

See our [article about building report pages](https://www.midori-global.com/products/better-content-archiving-for-confluence/cloud/documentation/content-status/macros) based on status like this:

![better-content-archiving-content-status-list-macro.png](https://community.atlassian.com/t5/image/serverpage/image-id/254166i523683FE7281893C/image-size/large?v=v2&px=999 "better-content-archiving-content-status-list-macro.png")


author: Peter Bettens
body: [@Levente Szabo _Midori_](/t5/user/viewprofilepage/user-id/570444) At the moment we use 5 status, but we now use a workaround with the Page properties and Page property reports.

comments: author: Levente Szabo _Midori_
body: I see. If you are open to trying a solution instead of a combination of workarounds, please give [Better Content Archiving a go. A free trial](https://marketplace.atlassian.com/apps/123/better-content-archiving-for-confluence?hosting=cloud&tab=overview&utm_campaign=gh&utm_medium=cac-comment-2079539&utm_source=cac) would be enough time to see if features like the [content status overview](https://www.youtube.com/watch?v=CaAVluzLTEw) fit your use case or not.

It is also geared for enterprise use cases and data volumes. [Our support](https://midori.zendesk.com/hc/en-us/requests/new) is also available if you have any questions along the way!


Tags: cloud

confluence-cloud

status