Getting an RRC item UUID via its ID
Hello,
RRC artifacts are referenced by their UUID and not by their IDs like in RTC. What is the REST call to invoke to get the corresponding UUID and then access the artifact by constructing the URL?
I've tried the following link below but it doesn't work.
<code>https://<server>/rm/views?oslc.query=true&projectURL=https://<server>/jts/process/project-areas/_ofQVcqYcEeOX2tHPfFzjgA&oslc.prefix=dcterms=<http://purl.org/dc/terms/>&oslc.select=*&oslc.where=dcterms:identifier=151219</code>
Thank you
|
Accepted answer
Hi, The proper query URL must be obtained from the Service Provider document.
If obtained from the Service provider document, your query lookd good, since it seems similar to the one described in : https://jazz.net/library/article/1197 . Pls check that doc and verify that query URL is being properly obtained. EclipseTalk . selected this answer as the correct answer
|
2 other answers
Hi,
What version of the product are you using? If you are using a 5.x version of RRC/RDNG, you may want to try using the project URL with the /rm context root, instead of /jts.
Do you get any sort of error when running this query, either in the response content or in the rm.log?
Thanks,
Mike
Comments I'm using 4.0.6 -
The error I'm getting is
The following resource in the repository cannot be found: https://<server>/rm/views
hide details
Could you check the rm.log to see if anything meaningful is logged during the timeframe when you execute this command? I don't see any error in particular in the rm.log. Is there a way to get the permanent link for an RRC artifact programmatically?
Thanks,
|
I got it working by sending a GET request and parsing the response to get the artifact resource UUID.
Thanks all for your help
|
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.