It's all about the answers!

Ask a question

Java Client APIs to get hierarchy of children and subchildren?


Susan Hanson (1.6k2201194) | asked Jul 14 '14, 9:09 p.m.
edited Jul 14 '14, 9:15 p.m.
I am trying to basically build a recursive gathering of Child work items ...so I start with one and want to build up (basically) an ArrayList of that work item, it's children, the children of those children, the children of those children, etc.

I am hitting odd Assertion errors trying to recurse using WorkItemCopyManager to get a WorkingCopy of my IWorkItem (child) so that I can then getReferences() since it seems references are not on the IWorkItem but only in the WorkingCopy?

Susan

One answer



permanent link
sam detweiler (12.5k6195201) | answered Jul 14 '14, 11:41 p.m.
Hm.. see the analyzeReferences function at the end of the answer here
https://jazz.net/forum/questions/94776/assertionfailedexception-problem-with-getting-the-values-of-attributes

I don't use the workingcopy except for updates.

Your answer


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