Populating workitem hirarchy using jazz sdk.
Hi,
I was able to query all workitem for a sprint and from a particular project area, the problem now I am facing is I am not able to organize these workitems as shown in the ALM UI I mean hierarchically.
I am getting all workItems irrespective of parent and child, can any body help to suggest a way to organize workitem as in ALM UI.
thank you,
Sarath.S.Kumar
|
One answer
Ralph Schoon (63.1k●3●36●46)
| answered Mar 27 '13, 4:14 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Sarath, all queries are always flat. If you want a tree view, you have to organize the hierarchy yourself. One example in Eclipse would be creating a tree view.
If you want to populate a tree view, you have to create content provider that return the items that are parents as top level nodes and then provide the children and siblings for next deeper nodes. That is simply how tree views for example in Eclipse are created. |
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.