How to download build record from RQM filtering by title ?
Hi Im trying to download a buildrecord.xml from RQM. Im using below command,
"java -jar RQMUrlUtility.jar -command GET -user %UserName% -password %Password% -filepath Download_BuildRecord.xml -url %Server_Name%/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/%ProjectArea%/buildrecord?fields=feed/entry/content/buildrecord%%5Btitle=%%22%Title%%%22%%5D/webId/" after replacing keyword 'Title' with title of the build record, but im getting 'HTTP bad request error'.
Accepted answer
Hi Haris.
I tried the same request as you and it worked fine, the only difference is that I didn't url encode the characters in the request and second, I changed "/webId" for "/description" as described in https://jazz.net/wiki/bin/view/Main/RqmApi#FieldsExamples
This is the request I used for reference:
java -jar RQMUrlUtility.jar -command GET -user qmuser -password qmpassword -filepath Download_BuildRecord.xml -url https://localhost:9443/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+Manager/buildrecord?fields=feed/entry/content/buildrecord[title='MyBuildRecord']/description
qmuser= username
qmpassword = password
localhost = server
Quality+Manager = Project area "Quality Manager"
MyBuildRecord = Title.
Hope this helps.