How to get TEST CASE work items using REST API?
How to get TEST CASE work items by work area using REST API? I tried https://localhost/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/[ProjectArea='xyz']/testcase?fields=feed/entry/content/testcase/* and it's returning error 400
|
2 answers
Hi Amol,
You can modify the below URL per your environment to get all the test case in RQM project
To get the Alias of the project, you can use the steps in the below link:
Hope it helps!
Feel free to comment if you have any questions.
--
Please like / mark the question as answered if it helps!
Comments
Amol Wangate
commented Jul 30 '19, 10:10 a.m.
Hi Bharath, thanks for responding. It works, however, it's not returning what I want. I want to see an REST API feed. Maybe it's not the API that I'm looking for. Do you have any other REST API or OSLC API?
Bharath Rao
commented Jul 30 '19, 10:14 a.m.
Can you explain your requirement ?
i want to see all test cases along with their details in either XML or JSON format so that I can parse the data.
This API was able to get me work item data from RTC work area:
I'm looking for somthing like this for RQM
|
You could try the below:
https://<clmhost:port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<Alias of the project>/testcase?fields=feed/entry/content/testcase/*
Hope this helps!
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.