create Team Area from Server API
![]()
There are many posts on how to manage Team Areas using the client API.
In particular, to create a Team Area:
IProcessItemService processItemService = (IProcessItemService) repo.getClientLibrary(IProcessServerService.class);
ITeamArea newTeam = processItemService.createTeamArea();
But what if we need to create a Team Area from an OperationParticipant (server side)?
I haven't been able to find the proper ItemService (note that IProcessItemService belongs to the com.ibm.team.process.client package)
Has anybody dealt with this before?
|
Accepted answer
![]()
Looking thru the SDK source it seems like the com.ibm.team.process\service\internal\ProcessService should do it..
in com.ibm.team.process.service_???.jar has a method saveProcessItem() which is effectively what I use in my client side project copy utility. create a TeamArea object, populate it and then 'save' it using the save ProcessItem() api. note that the Participant is running in the context of the user that made the change, and as such may NOT have permissions to do this operation.. (save teamarea) Miguel Tomico selected this answer as the correct answer
|