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

How to resolve "parent team area is not part of this team area hierarchy" exception?

 Hi all,


I have following team hierarchy:
    --GrandParent Team
               ---Parent Team
                           -- Child Team
When I am creating team area form bottom to top using recursion. "Parent Team" and "Child Team" created successfully and add "Child Team" as a child of "Parent Team". But when I tried to create "GrandParent Team" and add child "Parent Team", "parent team area is not part of this team area hierarchy" is thrown.

I am not sure about creation of this type of hierarchy is possible or not using plain Java API, but I used below API to add child for parent-child relation it works but grandparent-parent it failed:

teamAreaHierarchy.addChild((ITeamAreaHandle) createdGrandParentTeamArea.getItemHandle(), createdParentTeamArea);

Please suggest the solution on the exception occurred


                       


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,936
× 1,700

Question asked: May 30 '20, 3:39 a.m.

Question was seen: 1,298 times

Last updated: May 30 '20, 3:39 a.m.

Confirmation Cancel Confirm