0

ALM image

I was not able to get the linked defects from the test, Is there a way to get it through REST API ?

Raju
  • 2,902
  • 8
  • 34
  • 57
MSK
  • 1
  • 1

2 Answers2

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