How to report on a page hierarchy?


I'd like to build catalog of the third party components that we use in our product. To do so, I plan to build a page hierarchy like this:

+ Apache Commons Codec

+-- Apache Commons Codec 1.6

+-- Apache Commons Codec 1.7

+ Log4J

+-- Log4J 1.2.16

+-- Log4j 1.2.17

On the parent pages, I'd like to capture information about the product in general and on the child pages version specific information, including references to the version of our product it ships with.

The question now is: how can I build a report over this page hierarchy? I'd like to build a table like this:

|| Third party product || Version ||

| Apache Commons Codec | 1.6 |

| Log4J | 1.2.17 |

Is this possible? If so how? Or are there better ways to capture the information and build the report?

1 answer

I'd suggest a combination of Reporting & Scaffolding here (both commercial plugins by CustomWare).

Use scaffold fields (text-data macro) on each page to record the version number and component name. Make sure whatever field names you choose are consistently used across all the child pages.

In your hierarchy page (let's make that the parent page for simplicity) you can then use Reporting to analyse child pages and output the field values in a table (table-data macro).

If you've not used these plugins before then I'd recommend taking a look at the recipe book to get a feel for the power they offer. The Custom Child List may be a good starting point - hint: pull back your scaffold fields with {report-info:data:your_field_name}

I'm a bit familiar with both Reporting and Scaffolding, but not with applying that over an hierarchy of pages. My reports always pull from one level.

Here now, I'd need to pull generic information of the product from the parent page and then version specific information from the applicable child page. What macros would be applicable in that context?

The list of recipes is useful. I'll dig further into that.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published 8 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

85 views 2 4
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you