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. Taki Nakajo selected this answer as the correct answer
|
One other answer
About the Colour Palette, If I put Defect: #f50722 in the value, it results in the error in the Work Item Statistics viewlet in a dashboard. How to specify a value in the Colour Palette?
|
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.
Comments
Does anyone know about it?