---
title: "The Rich Filter Statistics Gadget"
canonical: "https://support.appfire.com/space/RFP/803407113/The%20Rich%20Filter%20Statistics%20Gadget"
format: markdown
---
> Macro (aura-html)


## About the Rich Filter Statistics gadget 

The *Rich Filter Statistics* gadget displays the collection of issues grouped by a specific field/criteria. It is similar to [Jira’s built-in Issue Statistics Gadget](https://confluence.atlassian.com/jiracoreserver/gadgets-for-jira-applications-939938018.html), 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 a *working query*;
- the gadget can break down the results by issue fields, smart filter, or time series;
- the gadget can also use a date field to break down the results by Hour, Day, Week, Month, Quarter or Year;
- the gadget can display multiple outputs at the same time (such as *Issue Count* and *Story Points*);
- the gadget can display [custom ratios](https://appfire.atlassian.net/wiki/spaces/RFP/pages/803406522);
- the gadget’s title can be customized.

**Example**: Issue Count and Story Points aggregated by the issue field Priority:

![Rich Filter Statistics Gadget Issue Count and Story Points aggregated by the issue field Priority](media://f0369080-ef24-4de3-a3d9-e9c2514d1e70)

**Example 2**: Issue Count, Story Points, and Time Spent aggregated by a Team smart filter. Not showing the percentage bars:

![image](media://cc76f603-526a-450d-87df-f477718b3082)

> ✅ ### Rich Filter Extensions
> ✅ 
> ✅ [Rich filter extensions](https://appfire.atlassian.net/wiki/spaces/RFP/pages/803407001) are separate Jira apps installed on top of the *Rich Filters for Jira Dashboards* app to extend the rich filters and rich filter gadgets with new specific functionality.
> ✅ 
> ✅ New statistic options are available if you add any of these extensions:
> ✅ 
> ✅ - [Rich Filters::Time Tracking Dashboards](https://marketplace.atlassian.com/1219709) allows you to [display statistics and time series based on work log attributes](https://appfire.atlassian.net/wiki/spaces/RFTT/pages/803012848) – *Worklog Author*, *Worklog Date,* and *Worklog Time Spent*
> ✅ - [Rich Filters::Service Desk Dashboards](https://marketplace.atlassian.com/1218675) allows you to [display statistics based on Service Desk fields](https://appfire.atlassian.net/wiki/spaces/RFSD/pages/802881803)<span style="color: #262626"> – </span>*Customer Request Type*<span style="color: #262626"> and </span>*Organizations*<span style="color: #262626">, compute values based on Service Desk SLA fields, or display time series based on Service Desk SLA fields</span>

## Configuring the Rich Filter Statistics Gadget

[Add](https://confluence.atlassian.com/jiracoreserver/adding-and-customizing-gadgets-939938014.html) a new or edit an existing *Rich Filter Statistics* gadget in your [Jira dashboard](https://confluence.atlassian.com/jiracoreserver/configuring-dashboards-939937983.html). The configuration form of the gadget will be displayed:

![2025-09-09_12-26-04.png](media://cd969247-ca59-4204-affb-d094a55bf366)

Edit the gadget configuration as described below:

| **Setting** | **Description** |
| --- | --- |
| **Title** | You can optionally customize the gadget's title. If left blank, the default title will be [*Rich Filter Name] / Rich Filter Statistics*. |
| **Rich Filter** | Select the rich filter the gadget will use.<br>Click the *Rich Filter* button to display the list of rich filters; you can either scroll through or use the search box to find the desired filter.<br>> ℹ️ The gadgets’ configuration forms only show the rich filters you can view. Check the [section on permissions](https://appfire.atlassian.net/wiki/spaces/RFP/pages/803406967) for more details.<br>> ✅ You can click the **Open rich filter config** link below the **Rich Filter** drop-down to open a new page with the configuration of the selected rich filter.
> ✅ 
> ✅ ![Open rich filter config](media://10989aaa-c1c5-4ef4-92bb-2259e3a80d13)
> ✅ 
> ✅ When the gadget is in display mode, select the **Open rich filter config **option under the **Menu** () icon to navigate directly to its rich filter.
> ✅ 
> ✅ ![2025-09-09_12-39-22.png](media://bbe806d3-1822-47c6-a0ea-0f42fdcaa6e2) |
| **Working query** | The working query is a JQL query combined with the rich filter's base filter before searching for issues. The working query is optional: if left empty, only the base Jira filter and the quick filters affect the issues displayed. |
| **Statistic type** | This setting is mandatory and specifies the criteria on which the issues will be grouped. There are three types of *Statistic types*:<br>- a. Option issue fields <span style="color: #172b4d">(e.g., Priority, Status, select custom fields, etc.) and </span><span style="color: #172b4d">[Smart Filters](https://appfire.atlassian.net/wiki/spaces/RFP/pages/803405912)</span><span style="color: #172b4d"> </span>
- <span style="color: #172b4d">b. Date and date time issue fields </span>
- <span style="color: #172b4d">c. Advanced – </span><span style="color: #172b4d">[Time Series](https://appfire.atlassian.net/wiki/spaces/RFP/pages/803405886)</span><br>![image](media://df0204fe-fc00-4328-bfc9-0cfe6e359083)<br>> ⚠️ All the following configuration options depend on the selected **Statistic type**. |

### Statistics on option <span style="color: #172b4d">issue fields </span>or smart filters

The following statistics settings are applicable when the selected *Statistic type* is an option issue field (<span style="color: #172b4d">e.g., Priority, Status, select custom fields, etc.</span>) or a [smart filter](https://appfire.atlassian.net/wiki/spaces/RFP/pages/803405912):

| **Setting** | **Description** |
| --- | --- |
| **Sort by** | Select how to sort the values of your *Statistic type*:<br>- **Total:** Sort by the value of each *Statistic type* group (if there are multiple value columns, the first one is used for sorting).
- **Alphabetical:** Uses alphabetical order for the *Statistic type* groups.
- **Natural:** Uses the issue field’s or smart filter’s native sorting order, i.e., the order configured for each field or smart filter's options. |
| **Reverse sort order** | If checked, the sort order is reversed. |
| **Maximum rows** | This setting limits the maximum number of rows to display. |
| **Show percentage bars** | <span style="color: #172b4d">If checked, the gadget displays a bar chart for each statistic value:</span><br>- <span style="color: #172b4d">for all value types other than </span><span style="color: #172b4d">[custom ratios](https://appfire.atlassian.net/wiki/spaces/RFP/pages/803406522)</span><span style="color: #172b4d">, the proportion of each value relative to the total;</span>
- <span style="color: #172b4d">for </span><span style="color: #172b4d">[custom ratios](https://appfire.atlassian.net/wiki/spaces/RFP/pages/803406522)</span><span style="color: #172b4d">, the proportion corresponding to the ratio.</span> |
| **Show totals** | <span style="color: #172b4d">If checked, the gadget displays a row with the totals for each selected value.</span> |
| **Values** | <span style="color: #172b4d">Select the values to be computed for each </span>*Statistic type*<span style="color: #172b4d"> group. You can select up to 10 values at a time.</span><br>The following value types are available:<br>- **Issue Count:** computes the number of issues in each group.
- **Numeric: **computes the sum of a numeric field for all issues in each group. For instance, using the Jira Software, the gadget can show the number of *Story Points* for each *Statistic type* group.
- **Σ Numeric: **the same as *Numeric,* but it also includes the values in its sub-tasks for each issue.
- **Time Tracking: **computes the sum of one of the time-tracking fields (i.e., *Original Estimate, Remaining Estimate, Time Spent*) for all issues in each group.
- <span style="color: #222222">**Σ Time Tracking:**</span><span style="color: #222222"> This is the same as Time Tracking, but for each issue, it also includes the values in its sub-tasks. </span>
- **Custom Values:** computes values based on the configuration of a custom value – label, color, total formula, formatting and JQL filter.
- **Custom Ratios: **displays a <span style="color: #172b4d">[custom ratio](https://appfire.atlassian.net/wiki/spaces/RFP/pages/803406522)</span><span style="color: #172b4d"> configured in the rich filter (percentage or ratio).</span><br>![value types available](media://d5bca218-48f7-449d-b291-2b154696255f) |

### Statistics on date and date time fields

The following statistics settings are applicable when the selected *Statistic type* is a date or a date time field:

| **Setting** | **Description** |
| --- | --- |
| **Aggregation periods** | Select the periods on which the issues will be grouped, according to their values for the date or date time field selected as *Statistic type*.<br>The available options are* Hours, Days, Weeks, Months, Quarters, *and* Years*. |
| **Time range** | Together with its subsettings, this specifies the total time span for which the results will be computed.<br>The time range subsettings depend on the option selected in the *Time range* drop-down as described below. |
| **Time range** | **Time range subsetting** | **Description** |
| **Number of periods** | **Number of periods** | Enter a number of periods. The time range corresponds to the specified number of consecutive aggregation periods. |
| **Direction** | Select how the periods are positioned relative to the current period. The possible options are:<br>- **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<br>> ✅ 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 past and future. For this field, it is more useful to select Future to see statistics for issues that are due soon or Past & Future to see statistics for overdue issues. |
| **Between dates** | **Start date**<br>**End date** | Enter the two dates that define the limits of the time range (both specified dates are inclusive).<br><span style="color: #172b4d">The inputs can be selected from a date picker or entered manually as a calendar</span><span style="color: #222222"> date ("</span>`yyyy/MM/dd`<span style="color: #222222">" or "</span>`yyyy-MM-dd`<span style="color: #222222">") or as a time relative to the present (e.g. </span>`"-5d"`<span style="color: #222222">, </span>`"4w 2d"`<span style="color: #222222">).</span> |
| **Contextual options** | These are predefined *Time range* options that depend on the selected *Aggregation period. *<br>Possible options are: This year, Last year, This quarter, Last quarter, This month, Last month. |
| **Reverse sort order** | <span style="color: #172b4d">If checked, the default chronological order is reversed.</span> |
| **Show percentage bars** | <span style="color: #172b4d">If checked, the gadget displays a bar chart for each statistic value:</span><br>- <span style="color: #172b4d">for all value types other than </span><span style="color: #172b4d">[custom ratio](https://appfire.atlassian.net/wiki/spaces/RFP/pages/803406522)</span><span style="color: #172b4d">, the proportion of each value relative to the total;</span>
- <span style="color: #172b4d">for </span><span style="color: #172b4d">[custom ratios](https://appfire.atlassian.net/wiki/spaces/RFP/pages/803406522)</span><span style="color: #172b4d">, the proportion corresponding to the ratio.</span> |
| **Show totals** | <span style="color: #172b4d">If checked, the gadget displays a row with the totals for each selected value.</span> |
| **Values** | <span style="color: #172b4d">Select the values to be computed for each </span>*Statistic type*<span style="color: #172b4d"> group. You can select up to 10 values at a time.</span><br>The following value types are available:<br>- **Issue Count:** computes the number of issues in each group.
- **Numeric: **computes the sum of a numeric field for all issues in each group. For instance, using Jira Software, the gadget can show the number of *Story Points* for each *Statistic type* group.
- **Σ Numeric: **the same as *Numeric,* but it also includes the values in its sub-tasks for each issue.
- **Time Tracking: **computes the sum of one of the time-tracking fields (i.e., *Original Estimate, Remaining Estimate, Time Spent*) for all issues in each group.
- <span style="color: #222222">**Σ Time Tracking:**</span><span style="color: #222222"> This is the same as Time Tracking, but for each issue, it also includes the values in its sub-tasks.</span>
- **Custom Values:** computes values based on the configuration of a custom value – label, color, total formula, formatting and JQL filter.
- **Custom Ratios**<span style="color: #172b4d">: displays a </span><span style="color: #172b4d">[custom ratio](https://appfire.atlassian.net/wiki/spaces/RFP/pages/803406522)</span><span style="color: #172b4d"> configured in the rich filter (percentage or ratio).</span><br>![image](media://4fafb1f0-5b4f-4fe5-9ef9-05d0c0a24940) |

### Statistics on Time Series

The following statistics settings are applicable when the selected *Statistic type* is Advanced – <span style="color: #172b4d">[Time Series](https://appfire.atlassian.net/wiki/spaces/RFP/pages/803405886)</span>:

| **Setting** | **Description** |
| --- | --- |
| **Aggregation periods** | Select the periods on which the issues will be grouped, according to the time series selected as *Statistic type*.<br>The available options are Hours, Days, Weeks, Months, Quarters, and Years. |
| **Time range** | Together with its subsettings, this specifies the total time span for which the results will be computed.<br>The time range subsettings depend on the option selected in the *Time range* drop-down as described below. |
| **Time range** | **Time range subsetting** | **Description** |
| **Number of periods** | **Number of periods** | Enter a number of periods. The time range corresponds to the specified number of consecutive aggregation periods. |
| **Direction** | Select how the periods are positioned relative to the current period. The possible options are:<br>- **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<br>> ✅ 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 past and future. For this field, it is more useful to select Future to see statistics for issues that are due soon or Past & Future to see statistics for overdue issues. |
| **Between dates** | **Start date**<br>**End date** | Enter the two dates that define the limits of the time range (both specified dates are inclusive).<br><span style="color: #172b4d">The inputs can be selected from a date picker or entered manually as a calendar</span><span style="color: #222222"> date ("</span>`yyyy/MM/dd`<span style="color: #222222">" or "</span>`yyyy-MM-dd`<span style="color: #222222">") or as a time relative to the present (e.g. </span>`"-5d"`<span style="color: #222222">, </span>`"4w 2d"`<span style="color: #222222">).</span> |
| **Contextual options** | These are predefined *Time range* options that depend on the selected *Aggregation period. *<br>Possible options are: This year, Last year, This quarter, Last quarter, This month, Last month. |
| **Reverse sort order** | <span style="color: #172b4d">If checked, the default chronological order is reversed.</span> |
| **Show percentage bars** | <span style="color: #172b4d">If checked, the gadget displays a bar chart for each statistic value:</span><br>- <span style="color: #172b4d">for all value types other than </span><span style="color: #172b4d">[custom ratio](https://appfire.atlassian.net/wiki/spaces/RFP/pages/803406522)</span><span style="color: #172b4d">, the proportion of each value relative to the total;</span>
- <span style="color: #172b4d">for </span><span style="color: #172b4d">[custom ratios](https://appfire.atlassian.net/wiki/spaces/RFP/pages/803406522)</span><span style="color: #172b4d">, the proportion corresponding to the ratio.</span> |
| **Show totals** | <span style="color: #172b4d">If checked, the gadget displays a row with the totals for each of the selected values.</span> |
| **Time series** | Select the time series to be displayed. The gadget displays a new column with values for each selected time series.<br>![image](media://01b7f141-d27e-476d-8084-b640f729ee7e) |