Versions Compared

Key

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

Field: Relationships

Description

Relationships allows filtering entities based on their relationships to other entities, relationships can be direct, for example:

...

The query within the sub-select is executed against the Relationships Index and has access to all the Relationships index fields.

...

All requirements related to bugs with a resolution of "Wont Fix" raised in the last week (demonstrates the use of the Destination field and a nested sub-select back into the Entities Index):

Code Block
languagenone
EntityType = Requirement
  AND Relationships IN {
      Destination IN { 
          Type = Bug
          AND Resolution = 'Wont Fix'
          AND CreatedAt >= "-1 week"
      }                       
  }

...