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 |
4 answers
Hi Preetam,
You can also try:
It will depend on what you're trying to achieve.
|
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 |
Thanks Mike,
The query https://[host]:[port]/rm/query?describe=[uri]&accept=*&private=true works for me. |
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.