Creating Defects and retrieving Testcases
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
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,
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
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
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
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,
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
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
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
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