It's all about the answers!

Ask a question

how to define an External ID for test artifacts?


Yaqian Fang (2013223) | asked Feb 17 '11, 7:23 a.m.
Hi,

I read in the RQM API that when uploading new artifacts to RQM, we can define External ID as an unique identifier: "This is an ID that is provided by the user when creating a resource with a PUT. Resources created from the Web UI will not have external IDs. An external ID can be anything that is valid in a URL".

So my question is, what format should the External ID be in the test artifact XML file? Can some one provide an example?

Also, if I want to add an External ID to an existing test artifact that was created in web GUI initially, what should I do? download the XML, add an external ID and then upload it back? Any other ways?

Thank you!!

One answer



permanent link
Kurtis Martin (1.4k11) | answered Feb 17 '11, 6:55 p.m.
JAZZ DEVELOPER
The external id is specified in the URL when you do a PUT to create the artifact. For example,

https://localhost:9443/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+Manager/testcase/mySpecialTestCase1

In which case "mySpecialTestCase1" will the the external id of the test case.

There is no way to modify an artifacts external ID. So you cannot add an external ID to a resources that was created in the UI. I believe the intention with the external ID was to provide an easy way for external programs to create and reference the artifacts they created via the REST API. Not as a means for external programs to work with artifacts that were created in the RQM UI.

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.