Field: RelatedToPackage

Description

The RelatedToPackage 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 (but none of it's child packages). It works in the same manner as the Package field.

Examples

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

EntityType = Script 
  AND Relationships IN { 
      RelatedToEntityType = Requirement 
      AND RelatedToPackage = '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?
AggregationYes (String)
SortableYes
Sub-selectsYes

  • No labels