API For Accessing Process Configuration Source?
Hello all,
Is there an API for accessing the Process Configuration Source as-is? A client of mine needs direct access to it in order to pull out all of the enumerations that exist within it. |
2 answers
Jared Burns (4.5k●2●9)
| answered Jul 28 '10, 3:05 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
On Thu, 22 Jul 2010 18:08:00 +0000, ytadesse wrote:
Hello all, We provide API to access configuration data, which is what the enumerations are stored as. The exact path differs if you're on the client or the server, but the API works basically the same way. On the client: 1. Get the client library IProcessClientService. ITeamRepository#getClientLibrary(IProcessClientService.class) 2. From this, get the client process for the project area in question. IProcessClientService#getClientProcess(...) 3. Get the config data from the client process. IClientProcess#getProjectConfigurationData(...) On the server: 1. Get the peer service IProcessServerService. AbstractService#getService(IProcessServerService.class) 2. From this, get the client process for the project area in question. IProcessServerService#getServerProcess(...) 3. Get the config data from the client process. IServerProcess#getProjectConfigurationData(...) - Jared ----------------------- Jazz Team Process Comments
SUNIL KUURAM
commented Apr 30 '13, 10:40 p.m.
Hi Jared,
The getProjectConfigurationData method requires a string ID in order to retrieve the correct data. Can you advise what the ID should be ? I tried com.ibm.team.process. No luck
Thanks
Sunil
This is the id of the configuration data that you want to retrieve. Each configuration data has an unique id that is declared in the configuration data extensions. So you need to firstly figure out what configuration data you are interested and find the id in either plugin.xml which contains the configuration data declaration or the process configuration source in a project area in which this configuration data has been customized. |
the key string is
found by exported item com.ibm.team.process.common.ProcessContentKeys.PROCESS_SPECIFICATION_KEY; see https://jazz.net/forum/questions/81132/why-is-iprojectareagetprocessdata-finding-multiple-process-xml-source-objects-for-a-project-area-v-40 |
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.