It's all about the answers!

Ask a question

Populating workitem hirarchy using jazz sdk.

Sarath Shasikumar (1759) | asked Mar 27 '13, 1:14 a.m.
      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,


One answer

permanent link
Ralph Schoon (63.1k33646) | answered Mar 27 '13, 4:14 a.m.
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.

Sarath Shasikumar commented Mar 27 '13, 4:39 a.m.

Thank you.. 

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.