Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RQM / ETM: Setting "copied from" information in e.g. Test Case via REST API

I have a use-case where I need to copy a defined set of test cases in RQM 6.0.6.1, and I am developing a REST-based solution.
Unfortunately, copiedFrom and copiedRoot are marked as [READ-ONLY] in the XSD, and this information is indeed not stored with my test case duplicate.

It would be good for us to know from which test case the copy was created.
Is there any way to set this information through an API?

0 votes



One answer

Permanent link

Hi Uwe,

The copy is done via UI and it cannot be set through REST API. 

Any Test artifact which was copied from another artifact shows the copiedFrom and copiedRoot links. But these links are read-only and cannot be created/updated REST API.

Thanks,
Monika Rajput

0 votes

Comments
Thank you for your reply.

In the meantime, I've also considered the OSLC API instead of the REST API.
Its documentation at https://jazz.net/wiki/bin/view/Main/RqmOslcQmV2Api mentions that is is possible to use COPY as HTTP verb to create a duplicate of an artifact, but I cannot get this to work (server response is 501).
Is it really not implemented and the documentation is wrong, or is it simply not possible for test cases?

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937
× 234
× 218
× 137
× 12

Question asked: May 05 '21, 3:48 a.m.

Question was seen: 2,308 times

Last updated: May 12 '21, 3:40 a.m.

Confirmation Cancel Confirm