Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Create Custom groups for a query in a Dashboard template

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

0 votes



One answer

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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,014
× 124

Question asked: Nov 14 '14, 2:58 a.m.

Question was seen: 5,139 times

Last updated: Mar 02 '15, 8:54 a.m.

Confirmation Cancel Confirm