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

Field: RelatedToPriority


The RelatedToPriority 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, RelatedToPriority 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 Priority field, with one key difference, in that it does not valid the supplied values are valid Priorities when compiling the query.


All requirements related to high-priority bugs:

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

Supported Operators

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

Supported Indexes


Supported Types

  • Incident
  • Requirement
  • TestScript

Supported Features

AggregationYes (String)

  • No labels