Help Contents

 

Related To All Packages

Field: RelatedToAllPackages

Description

The RelatedToAllPackages 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, RelatedToAllPackages can be used to filter the RelatedTo end of the relationship to only items within the selected package, or any of it's child packages. It works in the same manner as the AllPackages field.

Examples

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

EntityType = Script 
  AND Relationships IN { 
      RelatedToEntityType = Requirement 
      AND RelatedToAllPackages = 'Reports' 
  }

Supported Operators

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

Supported Indexes

Relationship

Supported Types

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

Supported Features

FeatureSupported?
AggregationNo
SortableNo
Sub-selectsYes