Reputation: 1
I was not able to get the linked defects from the test, Is there a way to get it through REST API ?
Upvotes: 0
Views: 814
Reputation: 354
I use multiple query params to get the defects only for relevant test cycle with following request (otherwise I was fetching too many defects):
.../defects?query={test.id[12345];test-instance.id[6789012]}
Upvotes: 0
Reputation: 714
You have to use the Cross-Relations and approach it from the defects side:
.../defects?query={test.id[>=1 And NOT = 5]}
This one will give you all the defects that are connected to the tests with id 1-4. More info on Cross-Filters here
Upvotes: 2