Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A key feature of Jira dashboards is the ability to display displaying your data through statistics and charts for effective, at-a-glance reporting. This article demonstrates a related feature available in Rich Filters for Jira Dashboards, namely the Rich Filter Flexi Charts gadget. This allows lets you to generate detailed charts on your dashboard and display quick tables on the fly.

Contents:

Table of Contents
minLevel1
maxLevel6
outlinefalse
stylenone
typelist
printabletrue

Prerequisites

Final result

...

When you've worked through all the steps in this tutorial, you should have a dashboard that contains two flexi chart gadgets:

  • One

    containing

    contains a donut chart showing the number of story points

    -

    worth of issues reported by each reporter.

  • One

    containing

    contains a stacked bar chart showing resolved and unresolved issues for each priority.

The two flexi chart gadgets, which are the focus of this tutorial, can be seen on the right of the image below, and are the focus of this tutorial. The gadgets on the left (Rich Filter Controller and Rich Filter Results) have already been covered in previous tutorials.Dashboard showing a rich filter controller with active filter, results gadget, and two flexi chart gadgetsImage Removed

...

Both flexi chart gadgets can also display quick tables that provide details of the data summarized in the charts: these are accessed by clicking the Show table button in the bottom-right corner of the flexi chart gadgets. The below image shows an example:Flexi chart displaying story points by reporter, with quick table below it showing the same data in more detailImage Removed

...

Rich filter and dashboard basic setup

In this section, you'll set up a basic rich filter and dashboard to work with.

  1. If you've already worked through other tutorials in this series, you can base any gadgets you create while following this article on a previously

...

  1. created rich filter. Check that you have one available

...

  1. (find existing rich filters under Apps > Rich Filters). If not, follow the instructions in Get started with Rich Filters for Jira Dashboards to create a new rich filter before continuing.

  2. Create a new dashboard (Dashboards > Create dashboard).

  3. Make sure it

...

  1. uses the

...

  1. left sidebar layout. We'll put our charts in the right-hand column, as they benefit from having more display space than other gadget types. You can set this using the Change layout menu at the top of the dashboard.

...

Info

If you want a more detailed explanation of creating a new dashboard, see Create a simple dashboard.

Your first

...

Flexi Chart

Rich Filter Flexi Charts gadgets allow you to show one-dimensional charts (single statistic type) or two-dimensional charts (two statistic types), with data points of your choice displayed for each value.

Let's create a simple one-dimensional chart that shows us the showing each reporter's story points for each reporter.

  1. Add a Rich Filter Flexi Charts gadget to your dashboard (

...

  1. Learn more on how to create a simple dashboard

...

  1. ).

  2. Move the gadget to the right-hand column of your dashboard by dragging and dropping it.

  3. There are several fields you should configure in the gadget config form (for the moment, we'll leave the Chart type as the default Donut type):

    1. Rich filter: Set this to your rich filter.

    2. Breakdown by > Statistic type: We'll get this chart to show a breakdown by reporters, so select Reporter in the Statistic type dropdown

...

    1. .

    2. Value: For each reporter, let's show the number of story points' worth of issues they have reported. Choose Story Points.

  1. Your gadget config form should look like the following image. Check it is correct, then click Submit.

...

  1. image-20240507-064417.pngImage Added
  2. Your Rich Filter Flexi Charts gadget should look like the following image.

...

  1. image-20240507-064449.pngImage Added
Note

If Suppose the selected Statistic type has options for which the matching issues have a total are equal to zero for the selected Value. In that case, those options are still shown greyed out in the legend (and quick tables, as you'll see later) , but they are not included in the chart. For example, in the donut chart above, Chris and Will have no story points set for their issues.

Manipulate your chart display

If you want to change the default display, there are a few options in theThe Rich Filter Flexi Charts gadget config form to play with.

...

offers several options for changing the default display.

  1. Return to your Rich Filter Flexi Charts gadget config form (see Easier configuration with the Rich filter menu).

  2. We haven't discussed the following options previously. Update them as described below:

    1. Filter out None: If this option is selected, issues with the statistic type empty won't be included in the chart (in the Reporter's case

...

    1. , this may have no effect, as empty values are unlikely). Check this box if you wish.

    2. Sort by:

...

    1. This dropdown offers different values

...

    1. depending on the chosen statistic type. Select the Total option. This will sort the chart data in descending order by the number of story points

...

    1. rather than ascending reporter

...

    1. names in alphabetical order. In the case of donut/pie charts, the data runs clockwise from the top.

    2. Reverse sort order: reverses the default sort order of the option chosen in Sort by. In this case, checking the box would sort the chart data

...

    1. by the number of story points in ascending order. We've kept the box unchecked.

  1. Your config form should look like the following image. Check they are correct, then click Submit.

...

  1. image-20240507-064609.pngImage Added
  2. You should end up with a different display in your chart gadget. Feel free to play around with these settings until you get a display that you are happy with.

...

  1. Rich filter flexi chart donut gadget ordered by totalsImage Added

...

  1.  Go back into your gadget config form and look at the different chart types available in the Chart type dropdown.

...

  1. The Rich Filter Flexi Charts gadget provides a variety of

...

  1. one—and two-dimensional charts to cover all your needs.

One-dimensional chart types:

  • Donut

  • Pie

  • Gauge

  • Bar

  • Line

  • Treemap

  • Word cloud

Two-dimensional chart types:

  • Clustered bar

  • Stacked bar

  • Multi-line

6. Try out a few different types of one-dimensional chart, charts to see what the variety looks like.An illustration of four different chart types - treemap, gauge, bar, and pieImage Removed

...

Tip

You can find more information on the config configuration options available for different gadgets in our Working with Rich Filter Gadgets reference articles, for example, such as The Rich Filter Flexi Charts Gadget.

...

The different chart types all have interactive features. For example:

  • You can hover over the columns/slices to display exact values as tooltips. This can be especially useful in

    cases such as

    donut charts when the gadget display is too narrow to show the labels seen in previous screenshots.

  • You can click the values or their bars/slices to load

    up

    lists of all the associated issues in a separate tab.

    Image RemovedImage Added

Create two-dimensional charts

Let's create a two-dimensional chart. In this case, we'll create a stacked bar graph that shows us showing the number of resolved and unresolved issues for each different priority.

  1. Add another Rich Filter Flexi Charts gadget to your dashboard (

...

  1. Click here to learn more on how to add gadgets).

...

  1. Drag and drop the gadget to the right

...

  1. column of your dashboard

...

  1. . Later, we'll add other features to the left

...

  1. column

...

  1. .

  2. Set the following field values in the gadget config form:

    1. Rich filter: Set this to the same rich filter

...

    1. your other

...

    1. Flexi chart gadget

...

    1. uses.

    2. Chart type: Choose a Stacked bar.

    3. Primary breakdown > Statistic type: Choose Priority in this dropdown.

    4. Secondary breakdown > Statistic type: choose Resolved / Unresolved in this dropdown.

    5. Value:

...

    1. We'll show the number of issues for each priority and resolved / unresolved combination. Choose Issue Count in this dropdown.

  1. Your Rich Filter Flexi Chartsgadget config form should look like the following image. Check it is correct, then click Submit.

...

  1. image-20240507-072224.pngImage Added
  2. Your gadget should look like

...

  1. this.

...

  1. image-20240507-072301.pngImage Added

Filter charts using your controller

As You'll notice how connected everything is as you use Rich Filters for Jira Dashboards more, you'll notice how connected everything is. With this in mind, let's look at how you can filter filtering your chart display using a Rich Filter Controller gadget.

  1. Add a Rich Filter Controller gadget to your dashboard using the Add a Gadget side panel.

  2. Drag and drop it to the left-hand column of the dashboard if it

...

  1. hasn't already been placed there.

  2. In the controller config form, set the Rich filter to the same

...

  1. Rich filter

...

  1. your other gadgets are based on, and click Submit.

If you are using use a rich filter from a previous tutorial, you may already have some filters available on your controller. If you created a fresh new rich filter for this tutorial:

Try applying some filters in the controller. Note how they filter issues inboth flexi chart gadgets. Jira dashboard with controller gadget showing some filters applied and two flexi charts, one stacked bar graph and one donut chart Image Removed

...

Tip

Bear in mind that controllers filter the information shown in all gadgets based on using the same rich filter as them!

Display quick tables

Flexi charts have quick tables available to provide details of the data summarized in the chart. Quick tables are displayed by clicking the Show table button in the bottom-right corner of the gadget.

...

  1. Click the Show

...

  1. Table button to display a tabular representation of your data.

...

  1. image-20240507-072609.pngImage Added
Info

Click the Show

...

Table button again to hide the quick table.

As with any other table in rich filters, you can sort the data in a quick table by different columns by clicking the column headings. Click a heading multiple times to toggle between ascending and descending order.Quick table showing story points by reporter, with column sorting control highlighted, sorted ascending by reporterImage Removed

...

Tables generated from two-dimensional charts can be sorted by ascending and descending column values, row values, and totals , by clicking the arrow controls in the relevant column and row headings.
Quick table resolved and unresolved issues by priority, including totals, with total row sort control highlightedImage Removed

...

Tip

You After sorting has been applied, you can clear all the applied sorting in a two-dimensional quick table by clicking the x button that appears in the top-left corner of the table after sorting has been applied.

Tip

In a similar manner . Similar to the charts that from which the quick tables are generated from, you can click the header and cell values to load up lists of all the associated issues in a separate tab.

Further exercises

In order to To add further power to the dashboard, in our final example, we added a Rich Filter Results gadget in the left-hand column, below the Rich Filter Controller gadget, based on the same rich Rich filter (Create a simple dashboard that explains how to do this). To complete the tutorial, we'd like you to You can complete this step on your own dashboard to complete the tutorial.

Your dashboard should look like this:Dashboard showing a rich filter controller with active filter, results gadget, and two flexi chart gadgetsImage Removed

...

As a further exercise, we also encourage you to explore using smart filters in flexi charts. Smart filters allow you to filter and group your issues using configurable smart clauses based on JQL and also have the advantage that, when defined, they become available for use in other places. This includes statistic types in statistics and charts , and columns in views. Use our Smart filters in statistics and charts exercise as a starting point, and try adding a smart filter as a statistic type in a new flexi chart gadget.

Next steps

This is the last topic in our the Fundamentals article series. Each one works as a standalone topic, so you can jump to specific topics of interest if you missed any , or want to revisit ones you've already covered.

...