Dialog “Create/Edit Hierarchical Query”
In addition to queries and detailed queries, you can also create hierarchical queries. These queries are suitable for representing dependencies and relationships between individual project elements. This allows you to see at a glance which goals requirements were derived from and which test cases verify these requirements. You can also use the queries to represent a package hierarchy or parts of it.
The dialog opens:
- via the context menu of a package with the command Create other → Hierarchical Query
Dialog
Name Name of the query. The name can be freely chosen when creating the query.
Icon Click the icon field above Icon and select a suitable image. The selected icon is displayed before the name of the query and helps to visually distinguish queries.
Query scope Use the dropdown menu to specify where the project is to be searched. You can specify whether the query takes into account all elements of a type in the entire project or only those in a specific package or its substructure.
| All entities of current projects | You do not need a context element. The query displays all elements of a type that are in the project. |
| All entities of packages | The query displays all elements of a type that are in a package. |
| All entities in package hierarchies | The query displays all elements of a type that are in a package. If the package contains other packages, these are also taken into account. |
| All entities of artifacts | All elements of a specific artifact are displayed here. For example, if you want to see all tests for a Test Set execution. |
| All entities in artifacts hierarchies | If you map a hierarchy using an artifact, all elements that you are within the hierarchy are displayed. For example, you have nested test set executions, which in turn have test. |
Element Hierarchy Use the Edit button to select the element types and relationships to be displayed in the query in the subsequent dialog. Make a selection by selecting the checkboxes in front of the element. The elements are accepted as soon as you click OK. You can set a recursion for some relationships and element types. As a rule, only relationships between elements should be displayed, but not the relationship itself. If this is the case, select the desired element type and deactivate the relationship by clicking on it.
The blue checkbox indicates that the relationship is disabled. You can also check in the overview whether the relationship is displayed or not. The relationship must be displayed in normal font and is not marked in bold like the element types to be displayed.
Tab “Selected Properties”
If you click on an entry (e.g. Goal (Goal)) on the left, you can use the Plus button from the subsequent dialog to specify the properties (name, description) that you want to see in the query for the element.
The selected properties are listed as individual rows with property Property name, Column name and Navigation path. Under Column name you can specify the name of the column in the result list.
If you want to remove one of the properties from the query, move the mouse over the property to be deleted and click on the Delete icon.
The order of the properties determines the arrangement of the columns in the result list. You can easily change them by selecting a property and dragging it to the desired position.
Switch icon on/off
The Name and Current State properties can be displayed with or without an icon. Click the icon to activate the function. The icon changes to Show icon. To reset the setting, click the x next to Show icon.
Switch due date highlight on/off
For properties of the Date and DateTime types that have the value Due Date or End Date, you can specify here that the date is highlighted in bold and orange when the specified due date has passed. The same applies to the End Date typing: If the specified date has passed and the element is not yet in a final state, the value is also highlighted accordingly.
To reset the setting, click the x next to Show due date highlight.
Change date display
For properties of the DateTime type, you can customize the display so that the time is hidden.
To reset the setting, click the x next to Date.

Switch Sorting on/off
Multi-level sorting can be defined for the properties to be displayed. Click the icon to activate sorting for the property. The number indicates the order in which the properties are taken into account as sorting criteria (1 = first sorting criterion, 2 = second, etc.). To change the order, click the number (Set Position).
In addition, you can specify for each property whether its values are to be sorted in ascending or descending order. To do so, click the middle icon (Set Sort Order).
To reset the sorting for a property, click the x.
Tab “Filter”
On this tab, you define filter criteria to specifically restrict the data displayed in the query. Editable areas of the filter are color-coded and underlined. Click an entry to edit it.
Creates either a new property filter or detail filter.
Property Filter
A property filter allows you to restrict the query results based on specific properties of an element. For example, you can specify that only elements with a specific state, type, or name are displayed. The query then displays only the results that match these criteria.
“Property Filter” Configuration
The filter expression consists of:
| Select Navigation Path | Specify the element to which the filter is to apply. | ||||||||||||
| Select Property | Specify the property to be filtered. | ||||||||||||
| Select Operator |
|
||||||||||||
| Select Comparison Value | Enter a value. Values cannot be selected. You must enter the values manually. Depending on the selected property, numbers and text are possible. |
Detail Filter
A detail filter allows you to specifically restrict the number of results in a detailed query. For example, you can determine which requirements have no test cases or only a specific number of test cases.
“Detail Filter” Configuration
The filter expression consists of:
Select Operator
| = | displays the data that is identical to the value |
| != | displays the data that does not match the specified value |
| < | displays the data whose value is smaller |
| > | displays the data whose value is greater |
| <= | zeigt die Daten an, deren Wert kleiner oder gleich ist |
| >= | displays the data whose value is smaller than or equal to the specified value |
Select Comparison Value Enter a number here,

If you want to link multiple filters, click the button with the two brackets. A new filter is inserted and linked to the existing filter expressions by an underlined “AND”. Click AND to switch from “AND” to “OR”.
To remove a filter, click the Delete button. A red Delete button appears next to each filter you create. Click the button to remove the filter.
Tab “Row” (as of Version 9.3)
Coloring
Here you can specify the colors to be used to highlight elements in the query. This makes it easier to distinguish and quickly identify results.
By default, no color is selected. Under Element Hierarchy, select the desired element or relationship and then select the Customized color option to assign a custom color.
To select a color, click the dropdown menu and select a color from the palette. The selected color is applied and displayed on the left under Element Hierarchy.
Element to open
If you display relationships in the hierarchical query, you can specify here whether double-clicking opens the relationship or the target element.
Doubleclick opens element Select this option to enable the function and activate the dropdown menu below.
Element to open Use the dropdown menu to select what is to be opened.
Tab “Settings”
Display of units
If the effort or duration of elements of the TestCase, Requirement, or UseCase type is displayed in the query, you can select the desired unit for the display here.
Workload From the dropdown menu, select the unit in which the planned effort is to be displayed. The available options are: Person-Days, Person-Weeks, Person-Months, Person-Years, and Person-Hours.
Time From the dropdown menu, select the unit in which the duration is to be displayed. The available options are: Minutes, Hours, Days, Weeks, Months, and Years.
Text properties
Show formatted texts in multiple lines Select this option if formatted texts are to be displayed in full and across multiple lines in the column.
Show formatted texts as plain text (as of Version 8.8) Select this option if the text is to be displayed without formatting in the column.
Grid Paging
This function is only available in the web client.
Here you specify how many results are to be displayed initially when the hierarchical query is opened.
Activated Select this setting if only a specific number of results is to be displayed. Under Elements per page, enter the number. If there are more results, they are automatically distributed across additional pages.
Deactivated Displays all query results on one page.
Default Uses the setting from the project.
Elements per page Enter the number of elements to be displayed on one page. If the result list exceeds this value, the additional results are automatically distributed across subsequent pages. At the bottom of the query, you can see how many pages there are and switch between pages by clicking them.
Tab “Commands & patterns”
You can configure commands and patterns that can be executed directly from a query.
Both appear in the query as Plus buttons next to the filter area and allow you to create new elements or apply patterns immediately.
Configured commands
Here you define commands for creating new elements (requirements, test cases, etc.). As soon as such a command has been created, a green Plus button appears in the query in the upper-right corner next to the filter.
Clicking the Plus button opens a list of the available commands. Select the command, and the element is created according to the definition in the selected package (context).
Configured patterns
Here you specify the patterns that you want to apply directly in the query. As soon as a command has been created, a Plus button appears in the query in the upper-right corner next to the filter.
Clicking the Plus button opens a list of the available commands. Select the command, and the pattern is executed according to the definition.



