Searching by status in Confulence
Asked by Magdalena Kaczy?ska:

Dear Confluence users,

Do you know if is it possible to list/search pages by status, which is set on that page ( with standard option STATUS)?


Answers:
author: Levente Szabo _Midori_
body: [Confluence page status](https://www.midori-global.com/blog/2023/04/28/confluence-page-status?utm_source=cac&utm_medium=cac-comment-940924&utm_campaign=gh) has evolved a lot lately, but the built-in status solution is still pretty limited (to 5 statuses).

There are dedicated apps solving for better Confluence page status and content lifecycle management. One of these solutions is [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-940924&utm_campaign=gh) which allows you to use custom statuses (15+), then display and [find Confluence pages by status](https://www.youtube.com/watch?v=CaAVluzLTEw) in a Content Status Overview:

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

Page statuses update automatically based on your rules, or can be updated manually by quick actions!

Read more on [quick actions in the Documentation \>\>](https://www.midori-global.com/products/better-content-archiving-for-confluence/cloud/documentation/manage-the-content-lifecycle/quick-actions?utm_source=cac&utm_medium=cac-comment-940924&utm_campaign=gh)

*(Please note that Better Content Archiving for Confluence is a paid and supported app and I'm part of the team developing it.)*


author: Anastasia Bek _Stiltsoft_
body: Hello everyone,  
We can offer a solution for your use case with our Handy Page Status from [Handy Macros for Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=cloud&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_vendorID=1216111&utm_content=search_by_status_PSR).  
If you need to set the status for the whole Confluence page, you can easily do it with our customizable statuses. They appear on top of a page. Users will be able to change statuses as progress goes by. Handy Page Status also keeps the history of changes for reporting.  
To search for pages in a certain status, use Page Status Report. Here you will get the list of all pages in a particular status based on your criteria (like status itself, space, status creator, or date of changes).  
![Handy Page Status (2).png](https://community.atlassian.com/t5/image/serverpage/image-id/292472iD4DE64C5A02A7010/image-size/large?v=v2&px=999 "Handy Page Status (2).png")![Review page status changes in one click (1).png](https://community.atlassian.com/t5/image/serverpage/image-id/292474i202488182BD1F8B6/image-size/large?v=v2&px=999 "Review page status changes in one click (1).png")![PSR (2).png](https://community.atlassian.com/t5/image/serverpage/image-id/292475i5F45FB2837D8C7B0/image-size/large?v=v2&px=999 "PSR (2).png")  
Feel free to [contact us](https://stiltsoft.customercase.com/forums/support-requests/ideas/create?category=Handy%20Macros%20for%20Confluence) for a live demo or help.

Take care,

Anastasia


author: chris.grom
body: Hi [@Magdalena Kaczy?ska](/t5/user/viewprofilepage/user-id/2154474)

Here is my current solution for you.

I created an automated task (a 'rule') to assign particular page **labels** to pages with newly assigned **statuses**.

Users can then search for documents of a particular status, *based on the labels* that you assign to them via this customized rule.

You should assign truly unique page labels to match the document status, so as to produce accurate status search results. (for this example I assigned fairly generic status labels)

1. Open the **Automation** settings on Confluence's left sidebar.

2. Click on the blue **Create Rule** button (top right corner of the Automation settings page)

3. Enter a name for the rule you are publishing, and select which Space/s it applies to.

4. Apply the following steps to your rule:

a. **When: Page Status Changed** # select the status you wish to track

b. **Then: Add label** # enter a unique label to match the status in the step above

c. **And: Add comment**# optional: add a comment to display when the status was changed

When you are finished, enable the rule. Please see the 'Rough Draft' rule screenshot below for more detail.

Keep in mind, when the page's status is advanced from 'Rough Draft' to 'In Progress', you will have to write a new rule. In that rule, you can add a step to remove the prior status label once the new status has been assigned to the page. Please see the 'In Progress' rule screenshot below for more detail. You can apply these steps for each subsequent status change.

Although you cannot produce a 'report', you can produce search results that only display pages of a selected status.

comments: author: chris.grom
body: ![Customized 'Rough Draft' Rule.png](https://community.atlassian.com/t5/image/serverpage/image-id/292268i6265CEBB5A32AC40/image-size/large?v=v2&px=999 "Customized 'Rough Draft' Rule.png")![Customized 'In Progress' Rule.png](https://community.atlassian.com/t5/image/serverpage/image-id/292269i16D967B3EF498BBD/image-size/large?v=v2&px=999 "Customized 'In Progress' Rule.png")


author: Stiltsoft Support
body: Hello [@Magdalena Kaczy?ska](/t5/user/viewprofilepage/user-id/2154474) ,

[Handy Macros for Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=cloud&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_vendorID=1216111&utm_content=searching_by_status) can help you with this use case. Use the connection of its Handy Status with the page label. Once you update the status, the label is also updated. After that, you can click the label and see all the pages with a particular status.


author: Shannon S
body: Magdalena,

Which macro are you using to set your page status? We have a Status Macro which is simply a label that you can use within tables. Is this the one you're using or are you using some other method?

Shannon

comments: author: Magdalena Kaczy?ska
body: Shannon,

Thanks for your answer. I am using Status Macro, but I can not see possibility to list it with a Macros: Label List, Content by Label ( If I write in space **Label** : *status*, I have got notification:

*There is no content with the specified labels*

Have you got any idea of resolving that problem?


author: Shannon S
body: Magdalena,

In the [Content by Label](https://confluence.atlassian.com/doc/content-by-label-macro-145566.html) macro, it's looking for [labels on pages](https://confluence.atlassian.com/doc/add-remove-and-search-for-labels-136419.html), and not status macros.

You might be able to accomplish this using a combination of page labels and the [Page Properties Report](https://confluence.atlassian.com/doc/page-properties-report-macro-186089616.html) macro. Maybe have a look at that macro and see if you could work with it to meet your needs?

Shannon


Tags: atl-gruland

cloud

confluence-cloud

search