This page relates to the Cloud version of Rich Filters for Jira Dashboards. Please see the documentation index for Server & Data Center versions.

The Rich Filter Two Dimensional Statistics Gadget

In this section:

  1. About the Rich Filter Two Dimensional Statistics Gadget
  2. Configuring the Rich Filter Two Dimensional Statistics Gadget
    1. Statistics on option fields or smart filters
    2. Statistics on date fields
    3. Statistics value
  3. Quick Charts in the Rich Filter Two Dimensional Statistics Gadget

1. About the Rich Filter Two Dimensional Statistics Gadget

The Rich Filter Two Dimensional Statistics gadget is a two-dimensional version of the Rich Filter Statistics Gadget. It allows grouping issues on two criteria, and computes statistics for combinations of statistic types. It is similar to Jira’s built-in Two Dimensional Filter Statistics gadget, but it is based on a rich filter instead of a Jira saved search and thus adds several new features:

  • the collection of issues used for the statistics can be further filtered using Rich Filter Controller gadgets;
  • the gadget itself can further refine the results by applying a gadget-specific JQL that we call working query;
  • the gadget can group the issues by an issue field or by a smart filter;
  • the gadget can group the issues by the values of a date or date time field in order to compute daily, weekly, monthly, quarterly or yearly statistics;
  • the result type displayed by the gadget can be customized (for instance, to show the sum of Story Points instead of the Issue Count);
  • the user can change the sorting order by clicking on an icon next to the column or row name;
  • the gadget can also display the data as a chart; the user can switch between the table view and the chart view by clicking on an icon.

Example: Story Points aggregated by the issue field Priority and a smart filter named High Level Status:

The labels and the colors displayed for High Level Status come from the clauses defined in the configuration of this smart filter.

2. Configuring the Rich Filter Two Dimensional Statistics Gadget

Add a new or edit an existing Rich Filter Two Dimensional Statistics gadget in your Jira dashboard. The configuration form of the gadget will be displayed:

Edit the gadget configuration as described below:

Rich filter

Select the rich filter the gadget will use.

Click on the Rich Filter button to display the list of rich filters; you can either scroll through or use the search box to find the filter you need.

The gadgets’ configuration forms only show the rich filters you are allowed to view. See the Rights and Permissions documentation page for details.

Working queryThe working query is an additional JQL query which is permanently applied on top of the base Jira filter and any active quick filters in the controller to further filter the issues the gadget will work with. The working query is optional: if left empty, only the base Jira filter and the quick filters affect the issues used by the gadget.
Two breakdowns need to be configured, one horizontal and one vertical. Below we describe the breakdown settings only once.
Statistic type

Select the issue field or the smart filter on which the issues will be grouped. The drop-down list includes the smart filters defined in the selected rich filter:

For each of the two breakdowns (horizontal and vertical) there are two types of configuration, depending on the selected Statistic type:

a. Statistics on option fields (e.g. Priority, Status, select custom fields, etc.) or smart filters

b. Statistics on date or date time fields

2.a. Statistics on option fields or smart filters

The following breakdown settings are applicable, for each of the two breakdowns, when the selected Statistic type is an option field or a smart filter:

Sort by

Select how to sort the values of your Statistic type:

  • Total: this will sort by the result computed for each Statistic type group for the corresponding breakdown.
  • Alphabetical: this will use alphabetical order for the Statistic type groups.
  • Natural: this will use the native sorting order of the issue field or smart filter selected as Statistic type, i.e. the order that has been configured for the options of the field or smart filter. This sorting option is available only for the issue fields Priority, Status, and Issue Type and for smart filters. 
Reverse sort orderIf checked, the sort order is reversed.
Maximum rows/cols

These settings limit the number of rows and columns to display.

The user can still display all the computed rows/columns by clicking on the numbers of rows/columns in rounded rectangles located at the bottom right of the gadget.

Show totalsIf checked, the gadget displays the total values for the corresponding breakdown.

2.b. Statistics on date fields

The following breakdown settings are applicable, for each of the two breakdowns, when the selected Statistic type is a date or a date time field:

Aggregation periods

Select the periods on which the issues will be grouped, according to the their values for the date or date time field selected as Statistic type.

The available options are: Days, Weeks, Months, Quarters, Years, Auto.

If the Auto option is selected, the aggregation periods and time range are adjusted dynamically to produce the most granular yet complete statistics (i.e. with the appropriate aggregation period so that all the relevant issues are included).

Time range

Together with its subsettings, this specifies the total time span for which the statistics should be computed. 

The time range subsettings depend on the option selected in the Time range drop-down as described below.

Time rangeTime range subsettingDescription

Number of periods

Number of days / weeks etc.Enter a number of periods. The time range corresponds to the specified number of consecutive aggregation periods.

Select how the periods are positioned relative to the current period. The possible options are:

  • Past – the time range includes past periods and the current period
  • Future – the time range includes the current period and future periods
  • Past & Future – the time range includes past periods, the current period, and future periods, with the current period in the middle of the range

Fields like Created or Resolved always contain values that are in the past. Therefore you should always select Past for these fields as you will never find any issue created or resolved in the future.

Fields like Due Date contain values that can be both in the past and in the future. For this field it is more useful to select Future in order to see statistics for the issues that are due soon, or Past & Future to also see the statistics for overdue issues.

Between dates

From / To

Enter the two dates that define the limits of the time range (both specified dates are inclusive).

The inputs can be selected from a date picker or entered manually as a calendar date ("yyyy/MM/dd" or "yyyy-MM-dd").

All dates

If selected, the time range is determined dynamically to include all the relevant issues (from the first date to the last date occurring in the values of the issues).

All dates is the only possible Time range option if the selected Aggregation period is Auto.

Contextual options

These are predefined Time range options which depend on the selected Aggregation period.

Possible options are: This year, Last year, This quarter, Last quarter, This month, Last month. 

Reverse sort orderIf checked, the default chronological order is reversed.
Show totalsIf checked, the gadget displays a row with the totals for each of the selected values.

2.c. Statistics value

The value setting is applicable to all configurations:


Select the value to be computed for each Statistic type group. There are four kinds of possible values:

  • Issue Count: computes the number of issues in each group.
  • Time Tracking: computes the sum of one of the time-tracking fields (i.e. Original Estimate, Remaining Estimate, Time Spent) for the issues in each group.
  • Numeric: computes the sum of a numeric field for the issues in each group. For instance, if using Jira Software, the gadget can show how many Story Points there are for each Statistic type group.
  • Custom values: displays a custom value, as configured in the rich filter (aggregation formula, display options, etc.).

3. Quick Charts in the Rich Filter Two Dimensional Statistics Gadget

In addition to the main table view, the Rich Filter Two Dimensional Statistics gadget offers a chart view which displays the results as a chart. This chart, referred to as a quick chart, requires no additional configuration. You can switch between the table view and the chart view by clicking on the corresponding icon located at the bottom right of the gadget.

By default, a clustered bar chart is displayed. You can choose the chart type of the quick chart by selecting it in the corresponding field at the bottom of the gadget. You can also swap the primary and secondary breakdowns of the chart  by clicking on the <> icon located between the breakdowns, at the bottom of the gadget.

The following chart types are currently available:

  • Clustered bar chart
  • Stacked bar chart

The maximum rows/cols setting applies to the quick charts as well.

Examples of 2D quick charts:

Clustered bar chart of Issue Count by Project:

Stacked bar chart of Time Spent by Issue Type and Priority: