OSLC query to retrieve the requirement id of the defect associated with the test case
Hi ,
I was trying to retrive the requirement id of the defect which is associated with the test case . I am not sure whether this kind of query exists.
I am able to fetch all the test cases from QM application from the below query:
But I need to find the requirement which is associated with the test case. Lets take an example a Defect is associated with the test case. I need id of the defect with a query
Can anyone help?
One answer
A couple of comments:
-I don't understand 'requirement id of the defect'.
-Your example is using the RQM Reportable REST API and not the RQM OSLC API.
-If you are using the RQM Reportable REST API, you'll need to use the calmlinks=true request parameter.
-If you are using the RQM OSLC API, see the relationship properties under http://open-services.net/bin/view/Main/QmSpecificationV2#Resource_TestCas.
-I don't understand 'requirement id of the defect'.
-Your example is using the RQM Reportable REST API and not the RQM OSLC API.
-If you are using the RQM Reportable REST API, you'll need to use the calmlinks=true request parameter.
-If you are using the RQM OSLC API, see the relationship properties under http://open-services.net/bin/view/Main/QmSpecificationV2#Resource_TestCas.