Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



2 answers

Permanent link

 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! 

0 votes

Comments

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?

 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


Permanent link
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!

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Jul 29 '19, 8:18 a.m.

Question was seen: 3,014 times

Last updated: Jul 17 '20, 2:17 a.m.

Confirmation Cancel Confirm