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

RQMRestClient Java library query objects from server

 Hello everybody
We use the RQMCopyUtility.jar library in one of our java apps. 

After an server upgrade from RQM 6.0.1 to RQM 6.0.6 some of the calls to query objects from the server seems to work different.
Prior the upgrade we used "RQMRestClient.getArtifact( String artifactType, String artifactId )" call to get different objects and we used the WebId / Name of the object as identifier in this call.
But after the upgrade this does not work any longer. Instead it looks like everything is handled by internal IDs now and we have to use these the interal IDs (urn: ...).
Now we are facing the issue that we have the WebId/Name of the object on our side but have no idea to get the related object from the server with this WebId.

Questions: 
- Is there an easy way to get objects from server with WebId/Name as identifier? If not, is there an useful workaround for this issue?
- Is there a somewhat more detailed documentation about the java RQMCopyUtility.jar? Especially for its usage in java application instead of command line calls?  

Any hints are welcome. Thanks!

0 votes



One answer

Permanent link
Hi,
You could consider referring to detailed documentation about RQMCopyUtility from - https://jazz.net/wiki/bin/view/Main/RQMCopyUtility

Regarding the artifactId - The ID format is the ETM Reportable REST API ID (see https://jazz.net/wiki/bin/view/Main/RqmApi#id).

Regarding the workaround - You could choose to use GET on Feed URI request in given project area and pick up the appropriate artifact ID for artifact name from Feed Response. This artifact ID could be used as argument for given API mentioned in your post.



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
× 10,941
× 411

Question asked: Jun 28 '21, 9:30 a.m.

Question was seen: 1,783 times

Last updated: Jun 29 '21, 2:37 a.m.

Confirmation Cancel Confirm