Hi,
I need to include the GreenHopper field "Sprint" to the list of values in XAxis and YAxis in the Two Dimentional Gadget to be able to get statistics on it.
After checking the code of this gadget and more specifically in the function Map<String, String> getValues() in StatisticTypesResource.Java of this gadget, I found below:
final List<CustomField> customFieldObjects = customFieldManager.getCustomFieldObjects();
for (CustomField customField : customFieldObjects)
{
if (customField.getCustomFieldSearcher() instanceof CustomFieldStattable)
{
allValues.put(customField.getId(), i18n.getText(customField.getName()));
}
}
We are adding all custom fields where the condition (customField.getCustomFieldSearcher() instanceof CustomFieldStattable) is satisfied.
For the "Sprint" field, this condition is not satisfied, that's why, it doesn't appear inside the list.
Is there a way to force enabling this property to the "Sprint" so , the condition will be met in that case?
Thanks,
Rosy