Associating team to a category
Hello,
I want to associate a team to a category. I used this code to do this.
WorkItemClient workItemClient = (WorkItemClient) teamRepository.getClientLibrary(IWorkItemClient.class);
Category workingCopyCategory=(Category) category.getWorkingCopy();
workingCopyCategory.doSetDefaultTeamArea(teamArea);
return workItemClient.saveCategory(workingCopyCategory,MONITOR);
The problem is, in the Jazz WEB UI, when you associate a team to a category and if that category has children, the team that you set is inherited for all the sub-categories, which is not happening when I use the code above, the team is set only for the category I give as parameter. Do you have any idea why is this happening and how to obtain the same behavior as in the Wen UI?
Thank you!