Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

why aren't all jira fields viewable in issues statistics gadget

Scott McDonald
Contributor
May 18, 2018

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

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 18, 2018

How are you doing the "calculated number field"?  What add-on is in use?

Scott McDonald
Contributor
May 21, 2018

I am using the out of the box Calculated Number Field.

Search Template: Number Range Searcher

Code:

Sum of Risk Indicator and Impact of Failure
Risk Indicator = 14283
Impact 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;
-->

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 21, 2018

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.

Scott McDonald
Contributor
May 22, 2018

Thank you Nic!  Do you know any of gadgets that will pick up numbers?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 22, 2018

A lot of the Software ones will, indirectly, as they'll read the board for the estimation and use the number field the board is using.

Scott McDonald
Contributor
May 22, 2018

Which ones would you recommend?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 22, 2018

It depends on the report you're looking for.

Scott McDonald
Contributor
May 22, 2018

One that resembles issues statistics but I can add additional custom fields such as calculated types.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 22, 2018

I'm not aware of any.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events