Some fields are not showing in any dropdown menus of dashboard gadgets

Still need help?

The Atlassian Community is here for you.

Ask the community


Problem

When creating a gadget on a dashboard, some fields are missing from the dropdown menus.

Some examples of gadget menus that can be affected include:

  • The "Statistic Type" dropdown menu from the Pie Chart gadget
  • The XAxis and YAxis dropdown menus from the Two Dimensional Filter Statistic gadget

For example, a Pie Chart gadget is being created and the issues returned from the filter contain a field called "Company Name", but this field is not displayed in the dropdown menu as shown below:

Root Causes

Root cause 1 - No search template is selected for the impacted fields

The fields that are missing are configured with "None" in the Search Template Option (configured in ⚙ > Issues > Custom fields > Action > Edit), as shown in the example below:

If any field is configured without a Search Template, such field won't be searchable, and as a result they won't be displayed in gadgets.

Root Cause 2 - The impacted fields are not supported by the gadgets

Some gadgets such as the Two-Dimensional Filter Statistics Gadget only support certain types of fields. For example and as explained in the documentation Adding the Two-Dimensional Filter Statistics Gadget, only the following custom field types can be selected for statistic purpose:

  • Group picker
  • Multi select
  • User picker
  • Select list
  • Version picker

If you are trying to use a Text Field, such field will not show in any statistic dropdown. There is an open feature request to support this type of field, which is tracked in  JRASERVER-66870 - Getting issue details... STATUS

If you are trying to use other types of fields (for example: Number field, Security field, Date field...) or some fields from Jira Service Management (SLA, Organizations, Customer Request Types...), such field will also be missing. There is an open feature request to support more field types in general, which is tracked in  JRASERVER-37545 - Getting issue details... STATUS

Resolution

For Root Cause 1

Change the Search Template of the missing fields to any value different than "None" (via the page ⚙ > Issues > Custom fields > Action > Edit).

For example, if the Search Template of the select list field "Company Name" is set to "Multi Select Searcher", this field will be available in the Pie Chart Gadget as shown below:

For Root Cause 2

There is unfortunately no workaround/resolution for this root cause, since the gadgets only support a limited list of field fields for statistic purpose.


Last modified on Feb 28, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.