...
When querying relationships in a sub-select, RelatedToProject can be used to filter the RelatedTo end of the relationship to only include items within the selected project(s). It works in the same manner as the Project field.
Examples
All scripts which are related to a requirements in project 'Project X' or project 'Project Y':
...
Supported Indexes
Supported Types
- AgileRun
- AutomatedTest
- AutomatedTestAssignment
- Incident
- Requirement
- RequirementPackage
- TestExecutionPackage
- TestScript
- TestScriptAssignment
- TestScriptPackage
...