Page tree
Skip to end of metadata
Go to start of metadata

Field: RelatedToType


The RelatedToType 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, RelatedToType can be used to filter the RelatedTo end of the relationship to only include items within the selected priority. It works in the same manner as the Type field, with one key difference, in that it does not valid the supplied values are valid Types when compiling the query.


All requirements related to incidents of type bug:

EntityType = Requirement
  AND Relationships IN {
      RelatedToType = Bug
      AND RelatedToEntityType = Incident

Supported Operators

=, IN, !=, NOT IN, IS, IS NOT

Supported Indexes


Supported Types

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

Supported Features

AggregationYes (String)

  • No labels