RQMRestClient Java library query objects from server
Hello everybody
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!
|
One answer
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.
Please refer https://jazz.net/wiki/bin/view/Main/RqmApi#single_ProjectFeedUrl for more info on this.
|
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.