Versions Compared

Key

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

The Smart Filters are the last Smart filters are another type of filter you can define in Rich Filters and use in dashboards. By the end of this tutorial you'll be able to add drop-down buttons , you can add (to Rich Filter Controller gadgets) drop-down buttons that allow you to filter issues by the criteria you have defined. You 'll will also be able to display (in Rich Filter Results gadget (colored gadgets) computed columns (we call these smart columns) based on the same criteria.

Image Removed

How to add smart filters and smart columns

...

Info

For this tutorial, you need to have already have created:

  • a Rich Filter

and
  • a dashboard with

a Controller and Rich Filter Results gadget (with a couple of views) based on the
  • one Rich Filter Controller gadget and at least one Rich Filter Filter Results gadget based on your Rich Filter.

We have used the the Rich Filter and dashboard from dashboard we worked with in the previous tutorial.

On this page:

  1. Add smart filters

  2. Add smart columns

Anchor
section1
section1
Add smart filters

  1. Open the configuration page of your rich filter as described in the first tutorial.

...

  1. Click on the Smart Filters menu entry on the left side of

...

  1. the screen.

...

  1. Image Added

...

  1. You can create a new smart filter

...

  1. named Warnings by clicking the Create smart filter button at the top right of the screen and entering the name in the dialog box.

    Image Added
  2. Add the three clauses below by clicking on the Create smart clause button at the top right of the screen and entering the name and the JQL in the dialog box for each clause.

    NameJQL
    Top Prioritypriority in (1,2) and status = Open

...

  1. Past Due Date

...

  1. duedate < now() and status != Closed

...

  1. No Due Date

...

  1. duedate =

...

  1. EMPTY and status not in (Resolved, Closed)

...

...

  1. Change the colors of the smart clauses as shown below:

...

  1. Open (or refresh) the dashboard based on your rich filter

...

  1. or build a new one. The Rich Filter Controller gadget displays the smart filter containing the three options you have configured.

...

...


If you select options in the smart filter and then click on Apply filters, the other gadgets in the dashboard based on the same rich filter

...

will be updated to display only the issues that satisfy the JQL conditions of the selected options (the JQL conditions are ORed if more than one option is selected).

Anchor
section2
section2
Add smart columns

  1. Open the configuration page of your rich filter and click on the Views menu entry on the left side of the screen.

  2. In the Requester view, you'll notice that it is now possible to

...

  1. add the smart filter to be displayed as a computed column (we call this a

...

  1. smart column). Add the Warnings smart column to

...

  1. the view.

...

  1. Image Added
  2. Refresh the dashboard. You'll notice that the Requester view of the Rich Filter Results

...

  1. gadget now has a new column

...

  1. with the header Warnings,

...

  1. displaying labels in colored rectangles for the corresponding issues, as configured in the smart filter clauses.

    Image Added

  2. Go back to the Smart Filters section of your rich filter configuration page. Create a new smart filter called Risk

...

  1.  and add a clause with the name On and the JQL priority in (1,2), and the assignee is EMPTY

...

  1. Image Added

  2. Go to the Views section of your rich filter. In the Delivery view, add the smart column Risk that you have just created.

...

  1. Drag & drop the Risk smart column after the Priority column. 

...

  1. Image Added
  2. Edit the Risk smart column

...

  1. by clicking on the corresponding icon.

    Image Added
  2. Select Show tags as = Colors Only and Column Heading = Smart filter initials (we want this column to be as compact as possible), then click Update.

...


...

  1. Image Added

...

  1. Refresh the dashboard. In the Rich Filter Controller gadget, select the option Top Priority in the smart filter Warnings and click on Apply filters. You'll notice that

...

  1. the Rich Filter Results gadget

...

  1. displays only the issues that satisfy the JQL condition of the Top Priority clause (priority in (1,2) and status = Open) and that in the Delivery view, next to the Priority field,

...

  1. a new column with the header R displays color tags for the at-risk issues (priority in (1,2) and assignee is EMPTY).

    Image Added
Info

Smart filters are a very powerful mechanism that allow allows you to create complex filtering groupsoptions, to add computed columns to your views, and highlight issues using color codingtags.

Learn More

...

See also

Configuring Smart Filters

Add Rich Filter Statistics gadgets to your interactive Jira Dashboard.In order to know everything about smart filters, have a look at /wiki/spaces/RFPv1p19/pages/784892488.dashboard