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

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

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

0 votes



4 answers

Permanent link
Hi Preetam,
 You can also try:
It will depend on what you're trying to achieve.

1 vote


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

0 votes


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

0 votes

Comments

 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
Thanks Mike,

The query
https://[host]:[port]/rm/query?describe=[uri]&accept=*&private=true
works for me.


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,938
× 45

Question asked: Apr 02 '13, 9:54 a.m.

Question was seen: 6,724 times

Last updated: Apr 05 '13, 3:33 a.m.

Confirmation Cancel Confirm