How to specify the work item type and Colour pallet in the viewlet 'Work Item Statistics' in a project dashboard template?
One of our customer wants to modify the Widget viewlet 'Work Item Statistics' in a project dashboard template.
How can I specify the work item type is 'task' only in the Parameter?
How can I specify a value in the Colour Palette?
I referred to this https://jazz.net/forum/questions/119315/dashboard-template. but it was not clear to me.
Accepted answer
With a bit of experiment, I found out that the color palette value is in JSON format. So it looks like this:
{"severity.literal.l1":{"label":"Unclassified","colour":"#ffffff"},"severity.literal.l2":{"label":"Minor","colour":"#ffffde"},"severity.literal.l3":{"label":"Normal","colour":"#e5dab8"},"severity.literal.l4":{"label":"Major","colour":"#ffcccc"},"severity.literal.l5":{"label":"Critical","colour":"#df7f7f"},"severity.literal.l6":{"label":"Blocker","colour":"#b36b6b"}}The easiest way to get this JSON presentation is to customize the widget in the RTC web GUI and then export it. You will find the JSON content in the exported text.
Comments
Taki Nakajo
Jul 16 '14, 5:54 p.m.Does anyone know about it?