Copying artifacts using RQMUrl Utility !
HI,
I am getting XML of test artifact using RQMUrl utility (GET method) provided in all downloads section of RQM download link. If I post (PUT method) same XML of test artifact multiple times, the artifact getting replaced in destination? I want new copy to be created, how can I achieve this ? |
2 answers
Hi Chandrahasa,
when using PUT request, the url is usually :
<singleProjectFeedUrl>/<id>
and if the id of the test artifact exist, when the PUT request will update the existing test artifact according to the XML.
and if the id doesn't exist, then will create a new test artifact. so, if you want a new copy, then specify a new id which doesn't exist on the server side.
https://jazz.net/wiki/bin/view/Main/RqmApi#RQM_Resource_URL_Specification
|
I tried using POST instead of PUT.. Its started created new copies !
Thanks Hao Wan for your response ! |
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.