Indexes / Relationship

Relationships Index


The relationships index is the an index that contains a flatted lists of all point-to-point relationships between entities.

The index is composed of the set of relationships visible from the "Relationships" tab of the edit screen for each entity, this allows for complex queries to be constructed where both direct and indirect relationships can interrogated.

To begin filtering your query based on the relationships an entity may have, you need to use one of the following fields:


All requirements which are associated with open bugs:

EntityType = Requirement 
  AND Relationships IN { 
      RelatedToEntityType = Incident 
      AND RelatedToStatus = Open

See the Relationships topic for more examples of querying relationships using this index.