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



permanent link
Ralph Schoon (60.7k33643) | 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.

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

Thank you.. 

Your answer


Register or to post your answer.