If you’d like to display your items in a table, you can make use of the CHILDREN mail merge codes to do so. It is important to note that you cannot mix item types in the output, however. The item type that you indicate as a child will be the only type to return.
Here is an example table using mail merge fields.
If you take a simple hierarchy of requirements
and create such a template, it will produce an output like this:
As you can see, each folder will be displayed along with a table of all items of type Requirement that exist exactly one level below the specified folder. Further-removed descendants of the folder (grandchildren, etc) will not be shown. Unfortunately, it is not possible to nest CHILDREN tags, so there is no way to view the full descendent hierarchy of an item via this method.
Remember, only one specified item type will show in each table. While our output shows the “Interfaces” folder, that folder does not have any direct children of the Requirement type, so the contents of that table are blank. If you’d like to show other child item types, it is possible to insert those into a separate table in the same item type template.
You can download a copy of this template via Box: