Related To Fields
Overview
Relationships in Enterprise Tester are indexed in the "Relationships" index.
Each relationship, both direct and indirect between one entity and another is indexed with a set of values recorded for each end of the relationship shared by those entities.
For the "destination" end of the relationship, those fields are exposed with the prefix of "RelatedTo" to distinguish them from the fields for the source end.
The set of "RelatedTo..." fields are:
- RelatedToAllPackages
- RelatedToAllParents
- RelatedToEntityType
- RelatedToId
- RelatedToOrganisation
- RelatedToPackage
- RelatedToParent
- RelatedToPriority
- RelatedToProject
- RelatedToStatus
- RelatedToType
These fields are only supported within the confines of a sub-select into the relationships index - see the Relationships topic for more details.
Examples
Return all entities which are related to requirements that have a type of "User Story":
Relationships IN { RelatedToEntityType = Requirement AND RelatedToType = "User Story" }