Download Defect Using RQMUrlUtility
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
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]