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