It's all about the answers!

Ask a question

work item viewlet does not show all columns


Astrid Kreissig (3164) | asked Dec 09 '08, 4:34 a.m.
Hello,
I want to dispaly the results of a work item query as a viewlet on the project page. It does show the work item id , the icon and the summary. But it does not show the other columns I defined as result for the query.
Any idea?

Also I wouldliek to show them sorted by 'planned for'. How can I do that?

5 answers



permanent link
Patrick Streule (4.9k21) | answered Dec 09 '08, 4:18 p.m.
JAZZ DEVELOPER
I want to dispaly the results of a work item query as a viewlet on the
project page. It does show the work item id , the icon and the
summary. But it does not show the other columns I defined as result
for the query.
Any idea?

There is typically not enough space in a viewlet to show all the
configured columns. But feel free to file an enhacement request for this.

Also I wouldliek to show them sorted by 'planned for'. How can I do
that?

You can define the sort order in the query itself, analogous to the
columns layout.

--
Regards,
Patrick
Jazz Work Item Team

permanent link
Mauricio Silclir (9184) | answered Aug 17 '10, 10:30 a.m.
I defined also some queries with showed the results using viewlets, but I wasn't able to decide on the order the results' labels appear in the viewlet (regardless the sort column I set in the original query). Apparently, the order labels appear is not configurable, and it depends on the type of chart and the parameters selected (see http://jazz.net/forums/viewtopic.php?t=8617)

I want to dispaly the results of a work item query as a viewlet on the
project page. It does show the work item id , the icon and the
summary. But it does not show the other columns I defined as result
for the query.
Any idea?

There is typically not enough space in a viewlet to show all the
configured columns. But feel free to file an enhacement request for this.

Also I wouldliek to show them sorted by 'planned for'. How can I do
that?

You can define the sort order in the query itself, analogous to the
columns layout.

--
Regards,
Patrick
Jazz Work Item Team

permanent link
Adam Archer (83639) | answered Aug 17 '10, 11:16 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
As you saw in the other forum thread you posted, sorting is not supported in the work item statistics viewlet. Feel free to file an enhancement request if you think this should be added.

As Patrick indicated, if you use the regular work items viewlet, it will honour the sort order specified in the query, but currently there is no way to display additional fields in the viewlet.

permanent link
Steve Willems (8811311) | answered Sep 15 '10, 8:55 a.m.
Patrick,

You stated to sort the query for ordering the statistics viewlet:

You can define the sort order in the query itself, analogous to the
columns layout.


But what when you want to ort on a custom attribute? How can i add this column in the "available sort columns". I guess it's a manual thing to add in the Process Configuration Source, but I have no clue where to start.

Thanks,
Steve

permanent link
David Castellanos (20686) | answered Sep 15 '10, 10:02 a.m.
Patrick,

You stated to sort the query for ordering the statistics viewlet:

You can define the sort order in the query itself, analogous to the
columns layout.


But what when you want to ort on a custom attribute? How can i add this column in the "available sort columns". I guess it's a manual thing to add in the Process Configuration Source, but I have no clue where to start.

Thanks,
Steve

Sorting by custom attributes is currently not supported, but planned for 3.0
Here's the relevant Work Item: http://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=65461

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.