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

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

0 votes



9 answers

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

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

0 votes


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

0 votes


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

0 votes


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

0 votes


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

0 votes


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

0 votes


Permanent link
The fields selection/filtering request parameter does not support the workitem resource (see https://jazz.net/wiki/bin/view/Main/RqmApi#SupportedFieldsResources).

0 votes


Permanent link
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).

0 votes


Permanent link
You can certainly open a WI against RQM (https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.newWorkItem).

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

Question asked: Apr 22 '09, 12:27 p.m.

Question was seen: 8,428 times

Last updated: Apr 22 '09, 12:27 p.m.

Confirmation Cancel Confirm