Migrating test artifacts: discovering matching artifact id for id in embedded image in test step
One answer
https://clm4.local/qm/service/com.ibm.rqm.planning.service.internal.rest.IAttachmentRestService/_Z6jXEMXxEeqowNokGfz2UA, is this internal API and https://clm4.local/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/CT-EB_QM/attachment/urn:com.ibm.rqm:attachment:156. is public Reportable Rest API.
Comments
Thank you Subhajit for your answer.
I could use the copy utility, however the intention had been to not just copy and paste, but also have some transformations between instance A and B, hence the attempt to use a custom implementation and the need to match the internal id to a publicly available one, or the question, which service provides the match programmatically.
Unfortunately also the copy utility does not handle my use case correctly, as images embedded in a text (e.g. in a test step expected result) are not migrated. Clicking on the image in the destination tries to open the orginal location.