Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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!

0 votes


Be the first one to answer this question!

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Mar 14 '22, 8:50 a.m.

Question was seen: 558 times

Last updated: Mar 14 '22, 8:50 a.m.

Confirmation Cancel Confirm