It's all about the answers!

Ask a question

API to get ID associated with a project area


anuraag kb (918) | asked Oct 26 '22, 3:00 a.m.

Do we have any API to get the ID or unique identifier for a Project Area in ETM?

The issue we are facing is if a project area is renamed in ETM, we cannot track the changes to that project area. So having an ID associated with project area that never changes will help resolve this issue.

2 answers



permanent link
David Honey (1.8k17) | answered Oct 26 '22, 3:57 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Oct 26 '22, 3:57 a.m.

https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi would be a good place to start. Although the info returned for project area(s) doesn't seem to explicitly have an id property, you could extract it from the leaf part of the URI.


permanent link
Bharath Rao (915241) | answered Oct 27 '22, 2:46 a.m.

Hi Anuraag,


You may perform a GET on the following OSLC API to get the project area title and UUID for all the ETM Projects.
https://<clmhostname>/qm/oslc_qm/catalog

Hope it helps!

Best Regards,
Bharath


Comments
1
David Honey commented Oct 27 '22, 4:17 a.m. | edited Oct 27 '22, 4:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

The concept of a project area is not defined by OSLC. So there is nothing in OSLC specifications that addresses project areas. The mapping of OSLC service providers to project areas is not defined by OSLC, but is a specific server implementation decisiion.  Project areas are a concept of Jazz Foundation and applications built on it. There is a foundation process API that I linked to.


Bharath Rao commented Oct 27 '22, 5:39 a.m.

Thanks David for clarifying..


@anuraag kb, GET on the following URL to provides the project areas and its corresponding UUIDs.

https://<clmhostname>/qm/process/project-areas


anuraag kb commented Oct 31 '22, 6:04 a.m.

 Hi Bharath,


Thanks for your response. Can the same information be retrieved using ETM integration libraries as well?


Bharath Rao commented Oct 31 '22, 8:04 a.m.

 Hi Anuraag,


I assume you meant the ETM Integration Service API.

If yes..

a) GET on the following Integration Service API provides project areas feed with Alias and URLs.



b) Then, issue another GET request against the URL of specific project area retrieved from the response.

eg:

The response contains URL with project UUID.



Hope it helps!

Your answer


Register or 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.