Widget Item Statistics widget configuration limitations
I think this may be a known limitation due to RTC's design but I wanted to confirm.
One of our users wants to configure a Work Item Statistics widget. The listed options in the Parameter list do not include work item attribute they wanted to use. Closer examination shows that the attribute they were looking for is of type String and I noticed that no attribute of type String is an available option for the Parameter value of the widget configuration.
I am assuming this is because the widget can only use attributes that have clearly defined or known values instead of something dynamic such as a String type which could yield any number of values.
Can anyone help shed any light on this? Thanks.
One of our users wants to configure a Work Item Statistics widget. The listed options in the Parameter list do not include work item attribute they wanted to use. Closer examination shows that the attribute they were looking for is of type String and I noticed that no attribute of type String is an available option for the Parameter value of the widget configuration.
I am assuming this is because the widget can only use attributes that have clearly defined or known values instead of something dynamic such as a String type which could yield any number of values.
Can anyone help shed any light on this? Thanks.
2 answers
Hi Philip,
>> I am assuming this is because the widget can only use attributes
>> that have clearly defined or known values instead of something
>> dynamic such as a String type which could yield any number of values.
Correct. The grouping parameter can only be based on a enumerated type defined in the Work Items process configuration for RTC 3.x.
However, this restriction has been lifted in RTC 4.x with the introduction of Data Source Value Set Providers.
See the following Wiki topic and work item for details:
https://jazz.net/wiki/bin/view/Main/DataSourceValueSetProviders
185818: : Support GroupBy for String attribute via DataSource Value Providers
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/185818
Thanks,
>> I am assuming this is because the widget can only use attributes
>> that have clearly defined or known values instead of something
>> dynamic such as a String type which could yield any number of values.
Correct. The grouping parameter can only be based on a enumerated type defined in the Work Items process configuration for RTC 3.x.
However, this restriction has been lifted in RTC 4.x with the introduction of Data Source Value Set Providers.
See the following Wiki topic and work item for details:
https://jazz.net/wiki/bin/view/Main/DataSourceValueSetProviders
185818: : Support GroupBy for String attribute via DataSource Value Providers
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/185818
Thanks,
Comments
Hmm.
This is odd. I have customer who has added a "tag" type attribute to a work item and in most cases this widget can group results on that attribute. In one specific example however, the widget complains:
No work items found using this query contain values for the grouping parameter: 'Customers'.
Broadening the query finds the attribute and its value for the 2 that ought to have been found by the more focused query.
RTC 3.0.1.3
Thanks Mike!
Hi Philip,
>> I am assuming this is because the widget can only use attributes
>> that have clearly defined or known values instead of something
>> dynamic such as a String type which could yield any number of values.
Correct. The grouping parameter can only be based on a enumerated type defined in the Work Items process configuration for RTC 3.x.
However, this restriction has been lifted in RTC 4.x with the introduction of Data Source Value Set Providers.
See the following Wiki topic and work item for details:
https://jazz.net/wiki/bin/view/Main/DataSourceValueSetProviders
185818: : Support GroupBy for String attribute via DataSource Value Providers
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/185818
Thanks,