It's all about the answers!

Ask a question

Copying artifacts using RQMUrl Utility !


Chandrahasa Reddy D (5715360) | asked Aug 30 '12, 4:32 a.m.
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



permanent link
Hao Wan (1.5k35) | answered Aug 30 '12, 4:45 a.m.
JAZZ DEVELOPER
edited Aug 30 '12, 4:46 a.m.
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.
reference link:
https://jazz.net/wiki/bin/view/Main/RqmApi#RQM_Resource_URL_Specification


permanent link
Chandrahasa Reddy D (5715360) | answered Aug 30 '12, 6:53 a.m.
I tried using POST instead of PUT.. Its started created new copies !

Thanks Hao Wan for your response !

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.