This question is in reference to Atlassian Documentation: Page Tree Macro
I'm trying to use the page tree macro and I can't get the @parent value to work for the root parameter.
Ideas? All that shows is the page with the page tree macro and others at the same level in the hierarchy.
Can you explain the desired output? That appears to be working exactly as intended.
- '@parent' — will include all pages under the parent of the current page, including the current page.
The way I read the docs, I expected that if I put a page-tree macro in the page (in your example) called "testing page-tree macro" and specify '@parent' as the root - that I would see the page "two reports" and all its child pages in the resulting list. The way it works it seems no different than using '@self'. So, how are self and parent different? I'm not getting it. But, this is my first time trying to use this macro.
I agree, Pamela.
Using the description of "@parent" above, shouldn't we see "two reports" (parent of "testing page-tree macro") included in the page tree?
Ideally it would be great if this macro would allow you to specify the level of ascendants and descendants. That way on each page of the hierarchy the reader could navigate the page structure, of these specific pages, without having to rely on the sidebar.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork? We've compiled a list here, along with...
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!
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