According to the documentation (https://confluence.atlassian.com/jirakb/some-fields-are-not-showing-in-any-dropdown-menus-of-dashboard-gadgets-922648656.html), if the search template on a custom field is something other than none, it should appear in the list of available statistic types....however, it's not. The field is a calculated number field so could that be the reason why it's not appearing?
Scott
How are you doing the "calculated number field"? What add-on is in use?
I am using the out of the box Calculated Number Field.
Search Template: Number Range Searcher
Code:
Sum of Risk Indicator and Impact of FailureRisk Indicator = 14283Impact of Failure = 14284@Formula:Object cf1 = issue.get("customfield_14283");Object cf2 = issue.get("customfield_14284");int total = (cf1 != null ? Integer.parseInt(cf1.toString()) : 0 )+(cf2 != null ? Integer.parseInt(cf2.toString()) : 0 );float result = total;return result;-->
Ah, I missed the number thing first time round. Some gadgets only work with specific types of field - essentially ones that hold lists. Those gadgets won't pick up numbers, dates or text.
Thank you Nic! Do you know any of gadgets that will pick up numbers?
It looks like you're new here. Sign in or register to get started.