I was not able to get the linked defects from the test, Is there a way to get it through REST API ?
Asked
Active
Viewed 710 times
2 Answers
2
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

Bela Tamas Jozsa
- 714
- 5
- 10
0
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]}

Yoshi
- 304
- 4
- 6