It's all about the answers!

Ask a question

[Closed] RQM: How to export Artifact Templates


Kumar Kumar (6427) | asked Oct 24 '16, 7:31 a.m.
edited Nov 07 '16, 2:28 a.m.
Hello,

Is there a option to export artifact templates between projects just like export option for Process templates.

Thanks,

Regards,

Kumar



Accepted answer


permanent link
Lily Wang (4.9k714) | answered Oct 25 '16, 1:40 a.m.
You can not export test artifact template directly, but you can achieve that using RQMAPI. Please see comment 2 from the enhancement request:
Kumar Kumar selected this answer as the correct answer

Comments
Kumar Kumar commented Oct 25 '16, 11:29 p.m.

Hello Lily,
Thanks for the Answer.
I am not able to get the syntax for POST/PUT.
Could you please share me the syntax and inputs for PUT/POST or examples also fine.

Thanks,

Regards,
Kumar


Lily Wang commented Oct 26 '16, 12:14 a.m.

Please see https://jazz.net/wiki/bin/view/Main/RqmApi


Kumar Kumar commented Oct 26 '16, 3:54 a.m.

Hello Lily,
I have went through the document manytimes but its not clear with the format/ syntax with Java.
For Get I'm using something like -
            oslcHttpClient = OslcHttpClientFactory.getClient(serverUrl, credentials);
            model = RdfUtils.read(oslcHttpClient, serverUrl+oslcUrl);

Is it possible to share the relevant step with PUT/POST in Java.

Thanks,

Regards,
Kumar


Lily Wang commented Oct 26 '16, 11:38 p.m.

As the provided API is Rest API, I suggest you try with RQMURLUtility.

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.