Field: RelationshipDepth

Description

Relationship depth represents the number of entities between the source entity and the destination (RelatedTo) entity.

Direct relationships will have a depth of 1, indirect relationships will have a depth of 2 or greater, as show in this annotated screen shot of the Relationships tab:

Examples

All scripts directly related to requirements with the status of "Approved":

EntityType = Requirement
  AND Status = Approved
  AND Relationships IN {
      RelatedToEntityType = Script
      AND RelationshipDepth = 1
  }

All scripts indirectly related to requirements with the status of "Draft":

EntityType = Requirement
  AND Status = Draft
  AND Relationships IN {
      RelatedToEntityType = Script
      AND RelationshipDepth > 1
  }

Supported Operators

=, <, >, <=, >=, IN, !=, NOT IN

Supported Indexes

Relationship

Supported Types

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

Supported Features

FeatureSupported?
AggregationYes (Int32)
SortableYes
Sub-selectsNo

  • No labels