New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE

Query Tree Item Children (Label)

Query Tree Item Children (Label)

Returns all the property values of the children of items in the specified view, in a chosen project

rolled back to the point in time described by the view label
this query answers relationship questions of the nature of
 sub folders of a folder,
 sub tasks of a task, child requirements of a requirement, etc
 (note that branchable types such as files or sprints do not have children, hence will not return anything)
 folders are branchable types but do have child folders; in this respect, they behave like tree items

note also that some 'leaves' may themselves be branches or twigs...

In general, this query is most useful to identify child tree items, 
i.e. tree items which are children of other tree items, branches which may well be leaves,
but it is guaranteed not to fail for other types
The query also successfully identifies sub-folders of a folder

 @Param projectid the integer id of the chosen project
 @Param viewid the integer id of a view of the project
 @Param labelid the integer id of a label of the view
@Param typeid the integer id of a tree item type from the server catalog
 @Param viewmemberid the integer id of the view member to query
 @Param sessionid a valid session for the logged on user running this query
 @return the property values of the children items


usage example

Labels (1)


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
2 of 2
Last update:
‎2020-03-11 19:36
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.