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

how to define an External ID for test artifacts?

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!!

0 votes



One answer

Permanent link
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.

0 votes

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

Question asked: Feb 17 '11, 7:23 a.m.

Question was seen: 4,527 times

Last updated: Feb 17 '11, 7:23 a.m.

Confirmation Cancel Confirm