Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to search in child pages from parent page

From ParentPage I have have hierarchy of two levels. These are for tracking inventory. All the child pages(leaf) contain a table with device and username (@xyz). I want to have a method to search if one particular user is using any of the devices in child pages.

Inventory(Parent)--> Type of Device(1st level childpage)-->ListOfDevices&Users(2ndlevel childpage).

3 answers

1 accepted

0 votes
Answer accepted

Hi @Praveen V - don't know if I'm getting you right - did you check out the Page Tree Search Macro

This should work out perfect - put it on Parent Page and search for user. It's set automatically on parent page as root page. 

Page Tree Search Macro is just returning Child Pages if search keywords are matching with Page name

Its working if I give exact userId. But not with @User.

Hi @Praveen V - did you try setting the filter 'Mentioning User' after the first result?

image.png image.png

This should give the wanted result

0 votes

We have simplified searching with Canned Search for Confluence to allow contextual searching anytime anywhere. With Search in Child/Descendents/Space menu options, you can save the effort to edit the pages to add search macros.

Search by Title in Children.gif


Check out our guide (How to search within a group of pages) for detailed steps

0 votes

Hi @Praveen V - sorry but that's not true. It's a perfect full working search which just gives you back a result according your Ancestors ID AND your search text - it leads you to a Result site where you are also able to filter your results. 


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

405 views 2 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you