Help Contents

 

Related To Parent

Field: RelatedToParent

Description

The RelatedToParent 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, RelatedToParent can be used to filter the RelatedTo end of the relationship to only items within the select parent requirement (but not of it's child requirements). It works in the same manner as the Parent field.

Examples

All scripts which have a relationship to a requirement in the parent requirement reports:

EntityType = Script 
  AND Relationships IN { 
      RelatedToEntityType = Requirement 
      AND RelatedToParent IN { 
          Name ~ 'Reports' 
      } 
  }

Supported Operators

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

Supported Indexes

Relationship

Supported Types

  • Requirement

Supported Features

FeatureSupported?
AggregationYes (String)
SortableYes
Sub-selectsYes