It's all about the answers!

Ask a question

How to get a project area name /details from resource URI


Preetam Sikdar (61316) | asked Apr 02 '13, 9:54 a.m.
HI
First of all when i am putting a resource uri in the url it will opens the artifact of a specific project area present in the RRC 4.0.1
https://(host):(port)/rm/resources/_433e1e14bf4c4e689ed3cbe2e304ba3e

So is there any possible ways to get the :-Project name from the unique id :---     _433e1e14bf4c4e689ed3cbe2e304ba3e

4 answers



permanent link
Mike Jaworski (1.4k6) | answered Apr 02 '13, 10:26 a.m.
JAZZ DEVELOPER
Hi Preetam,

I'm not sure I entirely understand your question. If you input the artifact URI into a web browser, the artifact UI should appear and the name of the project which contains this artifact should appear in the top-left corner of your web browser. Are you attempting to use REST services in order to obtain the project-area information for a given artifact? If that's the case, you can use this link in your web browser, and look for the URI resource associated with the "jfs:resourceContext" property which is the project area URL for this artifact:

https://[host]:[port]/rm/query?describe=[uri]&accept=*&private=true

Let me know if you have any more questions. Thanks,
Michael Jaworski

permanent link
Edgar Ignacio Velazquez Mar (7225) | answered Apr 02 '13, 10:38 a.m.
JAZZ DEVELOPER
Hi Preetam,
 You can also try:
It will depend on what you're trying to achieve.

permanent link
Preetam Sikdar (61316) | answered Apr 03 '13, 2:18 a.m.
Hi Michael
Through OSLC or any other api can i get the name of the project area of the artifacts:-
from this url:-
https://(host):(port)/rm/resources/_433e1e14bf4c4e689ed3cbe2e304ba3e




Hi Edgar
The link you have given is used by us for reporting purpose already.

Comments
Mike Jaworski commented Apr 04 '13, 1:33 p.m.
JAZZ DEVELOPER

 Preetam,


Does this mean your question has been answered? Just making sure, because I'm still not sure for what purpose you are attempting to obtain the name of the project area, and through what means you would like to obtain this information. If these answers have been insufficient so far, please provide a detailed description of the information you would like to retrieve, and for what purpose, so that we can attempt to provide you with the most appropriate means for obtaining the info.

Thanks.


permanent link
Samanwita Majumdar (5033639) | answered Apr 05 '13, 3:33 a.m.

Your answer


Register or to post your answer.