Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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, RelatedToAllParents can be used to filter the RelatedTo end of the relationship to only items within the select parent requirement, or any of it's child requirements. It works in the same manner as the AllParents field.

Examples

All scripts which have a relationship to a requirement in the parent requirement 'reports', or one of it's child requirements:

Code Block
languagenone
EntityType = Script 
  AND Relationships IN { 
      RelatedToEntityType = Requirement 
      AND RelatedToAllParents IN { 
          Name ~ 'Reports' 
      } 
  }

Supported Operators

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

Supported Indexes

Relationship

Supported Types

  • Requirement

...