Creating Defects and retrieving Testcases
Hi,
I want to ask if there is a documentation on how to create defects in RQM via the REST API ? I also want to retrieve a list of all Testcase stored in RQM. Does anyone know how to do that ? Many thanks in advance for your help Best regards finaris |
9 answers
We currently do not have an API method for creating defects (Jazz Workitems). We are planning on gaining that functionality from the Jazz foundation upon which RQM will be based (see https://jazz.net/wiki/bin/view/Main/JazzFoundation).
You can gat a list of testcases in you project by using the feed URL. This is https://<server>:<port>/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAlias>/testcase or if you have only the default project: https://<server>:<port>/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/testcase Hi, |
We currently do not have an API method for creating defects (Jazz Workitems). We are planning on gaining that functionality from the Jazz foundation upon which RQM will be based (see https://jazz.net/wiki/bin/view/Main/JazzFoundation). It works :) Thank you so much for your quick reply |
Hi rrassman,
Retrieving testcases from the default Projekt works fine. But when i try to get testcases of a specific project by using : https://127.0.0.1:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/TestProject/testcase I get this error : The server does not support the functionality needed to fulfill this request () Can you tell if is a RQM bug or does the request above works for you ? PS : I use RQM Version 1.0.1 Standard Edition. Many thanks in advance |
Hi rrassman, Can you tell if is a RQM bug or does the request above works for you ? PS : I use RQM Version 1.0.1 Standard Edition. Many thanks in advance To refer to an object that is a project area other than the defaul, you need to add in the "resources" keyword. Thus for your example the URL would be: https://127.0.0.1:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestProject/testcase |
Hi rrassman,
Im now facing another problem, namely, that if i send a request to get all testcases belonging to a project, i get only 50 items back, even though the project is containing more than 50 testcases. Is this a known issue ? Many thanks for your answers Best regards finaris |
I am trying to get Requirement and Defect type workitems using the REST API Url :
https://pdbvwmaprat.nw.lbps.com:9443/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+Manager/workitem?fields=feed/entry/content/workitem/* however , I get all work items even those that dont satisfy the ownerid condition Does anybody have any idea why this isnt working? Any help is greatly appreciated |
The fields selection/filtering request parameter does not support the workitem resource (see https://jazz.net/wiki/bin/view/Main/RqmApi#SupportedFieldsResources).
|
Hi,
Thanks for your reply Do you know if can we make a request to add the work item filtering capability to RQM/RTC API? The fields selection/filtering request parameter does not support the workitem resource (see https://jazz.net/wiki/bin/view/Main/RqmApi#SupportedFieldsResources). |
You can certainly open a WI against RQM (https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.newWorkItem).
|
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.