How can I create TeamAreas programmatically?
![]()
From a Java Client, I would like to create TeamAreas programmatically.
I would like to mirror the existing WorkItem Categories, which I have already created, and for each existing Category (also nested) create a TeamArea with same name and then associate it with that same Category. 1. Is this the right way? IProcessItemService service = (IProcessItemService)teamRepository.getClientLibrary(IProcessItemService.class); ITeamArea ita =service.createTeamArea(); 2. What is the meaning of the two ITeamAreaHandle parameters of the call: projectArea.getTeamAreaHierarchy().addChild(arg0, arg1); and how would I get hold of them? Thank you, Lara |
One answer
![]() From a Java Client, I would like to create TeamAreas programmatically. Hi, 1. Yes it is the right way. 2. The first argument is the parent team area to which the newly created team area, passed in the second argument, will be added as a child. Thanks, Sridevi Jazz Process Team |