It's all about the answers!

Ask a question

Create Custom groups for a query in a Dashboard template


Bhawana Gupta (1031012) | asked Nov 14 '14, 2:58 a.m.
JAZZ DEVELOPER
edited Nov 14 '14, 3:00 a.m.

I am trying to create a Dashboard template.

I have put a widget (work item statistics) with Parameter 'status'. I need to create custom group for it. For e.g. FSD Submitted | FSD WIP should show as FSD.
  
I am able to get this when I do it in the dashboard directly but the issue is how to make a template for this...as the template will be used by teams to create projects and the dashboard should come automatically. 

Regards

Bhawana

One answer



permanent link
Marie Michelin (14317) | answered Mar 02 '15, 8:54 a.m.
edited Mar 02 '15, 8:54 a.m.
I don't know if you found an aswer as your question is a little bit old now.
But perhaps someone could find my answer useful.

I was also wondering how I can put in my process template my custom groups.
I tried a lot of things and I finally found it, exporting my widget with the OpenSocial Gadget.

In fact you can modify the xml file (Process Configuration Source) by adding a line which looks like :
<preference id="metagroups" value="Open~~New|Submitted@@Closed~~Closed"/>

In my usage, I wanted to group all the states New and Submitted (even if the workflows were different, so the states with the same name were different) and another group for Closed states.

So the complete result is :
<viewlet id="com.ibm.team.workitem.viewlet.statistics" trim="blue">
   <preference id="presentation" value="bar"/>
   <preference id="query" value="com.ibm.team.workitem.queries.predefined.planned_current"/>
   <preference id="metagroups" value="Open~~New|Submitted@@Closed~~Closed"/>
   <preference id="parameter" value="com.ibm.team.workitem.attribute.state"/>
   <preference id="othergroup" value="true"/>
</viewlet>

I hope this will help.

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.