Field: RelatedToEntityType

Description

The RelatedToAllParents field is one of the set of RelatedTo fields which can be used to search the "RelatedTo" (Destination) end of a relationship.

When querying relationships in a sub-select, RelatedToEntityType can be used to filter the RelatedTo end of the relationship to only items which are of a certain entity type e.g. Requirement, Script etc.

The RelatedToEntityType field works in the same manner as the EntityType field, refer to that topic for a list of valid values.

Examples

All requirements related to open bugs (EntityType of Incident)

EntityType = Requirement 
  AND Relationships IN { 
     RelatedToEntityType = Incident 
     AND RelatedToStatus = Open 
     AND RelatedToType = Bug 
  }

Supported Operators

=, IN, !=, NOT IN

Supported Indexes

Relationship

Supported Types

  • AgileRun
  • AutomatedTest
  • AutomatedTestAssignment
  • Incident
  • Requirement
  • RequirementPackage
  • TestExecutionPackage
  • TestScript
  • TestScriptAssignment
  • TestScriptPackage

Supported Features

FeatureSupported?
AggregationYes (String)
SortableYes
Sub-selectsNo

  • No labels