It's all about the answers!

Ask a question

Download Defect Using RQMUrlUtility


Kallol Ghose (154) | asked May 02 '17, 7:41 a.m.

 I am trying to download defect details using the RQMUrlUtility and I am using using the following command 


java -jar RQMUrlUtility.jar -command GET -user <username> -password <password> -context qm -filepath "D:\defect.xml" -url https://<host>:<port>/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<ProjectAlias>/workitem/urn:com.ibm.rqm:planning:<defect id>

But I am getting the error - HTTP/1.1 400 Bad Request

Can someone please tell me what should be the resource and component for fetching defect details using RQMUrlUtility.

Thanks in advance !!!

Accepted answer


permanent link
Don Yang (7.7k21109138) | answered May 02 '17, 7:31 p.m.

Hi, Kallol

RQMURLUtility is based on RQM Reportable REST API and it will not apply to defect which is a workitem in RTC.
If your intention is to GET defect work item details, you can use a REST client(for example Poster) and try OSLC:

https://server:port/ccm/resource/itemName/com.ibm.team.workitem.WorkItem/77 [77 is a defect id here]


Kallol Ghose selected this answer as the correct answer

Comments
Kallol Ghose commented May 03 '17, 11:33 a.m.

 Thank you Don !! I m able to get the details using the above.

Your answer


Register or 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.