Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Jira Dashboard Filters: Add One Based on Selection

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

A Jira dashboard cannot make one gadget filter every other gadget by itself. Each gadget carries its own filter, so the way to "add a filter based on a selection" is to create one or more saved filters, add the relevant gadgets, and then point each gadget at the filter you want. On Jira Cloud you can also save a filter and choose that saved filter as the source for multiple gadgets, which is what most people mean by connecting a selection to a dashboard. Nothing outside Jira is needed, but you must have permission to create and save filters in the project you are reporting on.

What You'll Need

  • A Jira account with access to the projects your filter will search.
  • Permission to create and share filters (Jira Cloud lets filter owners share them; Jira Data Center usually requires the Create shared objects permission to share with everyone).
  • Edit or admin rights on the dashboard you want to change, otherwise you can add gadgets only to a copy of the dashboard.
  • A clear idea of the selection you want to show: a project, a person, a sprint, a set of issue types, a date range, or a combination.

Menus and labels can differ slightly depending on whether you use Jira Cloud or Jira Data Center, and between the desktop and mobile layouts. The steps below describe Jira Cloud.

Step-by-Step

  1. Build the selection as a JQL search. Open Filters > Advanced issue search, or use the search bar and switch to JQL. For example, project = "Web" AND assignee = currentUser() AND statusCategory != Done gives you the current user's open work in the Web project. Run it and check the issue count matches what you expect.
  2. Save the search as a filter. Choose Save as, give the filter a name that says what it does (for example Web – My Open Issues), and save. If you want colleagues with dashboard access to see results, share the filter with the relevant project role or group. Gadgets show no results for people who cannot see the filter, even if they can see the dashboard.
  3. Create a second filter for each alternative selection. If the dashboard should offer "my issues" and "team issues," save both as separate filters. A dashboard cannot switch a gadget from one saved filter to another through a click, so each selection normally becomes its own gadget or its own dashboard.
  4. Open the dashboard and enter edit mode. Go to Dashboards, pick the dashboard, and choose Edit. On a phone the dashboard is view-only in most layouts; add gadgets from a desktop browser.
  5. Add a gadget. Choose Add gadget, then pick the type that matches the output you want: Filter Results for a plain issue list, Two Dimensional Filter Statistics for a table of counts, Pie Chart or Issue Statistics for breakdowns, Created vs Resolved Chart for trends, and Assigned to Me if the "selection" is simply the current user.
  6. Point the gadget at your saved filter. In the gadget's configuration panel, somewhere in the Saved Filter or Filter field, start typing the filter name and choose it from the list. If you cannot find it, you are probably not the owner and it has not been shared with you.
  7. Configure the display. Set the columns (Filter Results), the statistic and grouping fields (Two Dimensional Filter Statistics), or the Y-axis and refresh interval (charts). Keep the number of displayed issues modest so the dashboard loads quickly.
  8. Optionally add a quick-filter control. The Filter Results gadget can show a filter dropdown so viewers can switch between saved filters you have made available to it. This is the closest Jira Cloud has to a selection that drives the gadget, and it is set in the gadget's own options.
  9. Repeat for each selection, then arrange. Add one gadget per selection or metric, drag them into order, and resize. Give each a descriptive title so the difference between "My Open Issues" and "Team Open Issues" is obvious at a glance.
  10. Save and test as someone else. Choose Save, then use a colleague's account or check with them to confirm every gadget returns data. A green dashboard for you and empty gadgets for the team almost always means filter sharing, not a broken gadget.

Common Mistakes

  • Confusing a dashboard filter with a saved filter. The filter belongs to the gadget; the dashboard only hosts gadgets. Editing the dashboard does not change which issues a gadget searches.
  • Forgetting to share the filter. The gadget runs with the viewer's permissions. A private filter shows nothing to anyone else, and Jira may show an error about the filter not being found.
  • Leaving an unsaved JQL query in the gadget. Some gadgets accept a raw JQL string, but then nobody can reuse or fix the query in one place. Save it as a filter first.
  • Expecting one dropdown to filter every gadget. Jira has no dashboard-wide filter control that applies to all gadgets at once. Each gadget is configured separately.
  • Building selections that overlap. Two gadgets that both include Done issues will double-count when someone adds the numbers up. Make each filter's boundary explicit with statusCategory or a date clause.

Tips

  • Name filters with a prefix that groups them, such as TeamA – , so they are easy to find in the gadget picker and in Filters > View all filters.
  • Use currentUser() instead of a person's name when the selection is "mine." The same gadget then works for everyone who opens the dashboard.
  • Prefer statusCategory != Done over listing statuses one by one; it survives workflow changes.
  • Set chart gadgets to refresh less often. Frequent refreshes slow large dashboards for everyone, not just you.
  • If you need genuinely different views, build separate dashboards and share the link, rather than stacking dozens of gadgets on one page.

Troubleshooting

The gadget shows no issues. Run the saved filter directly from Filters. If it is empty there, the JQL is wrong. If it has results but the gadget is blank, check sharing and confirm the gadget is pointed at the right filter.

The gadget says the filter cannot be found or you lack permission. The filter is private or shared with a group you are not in. Ask the owner to share it with the project role or group used by dashboard viewers.

You cannot edit the dashboard. You are not its owner or an administrator. Copy the dashboard to your own account, add the gadgets there, and share the copy, or ask an admin for edit rights.

The filter dropdown is missing from Filter Results. The gadget's options differ between versions; open its configuration and look for the option to allow filter selection. If it is absent in your version, add separate gadgets instead.

Numbers look wrong or duplicated. Two gadgets are counting the same issues, or a filter includes sub-tasks alongside their parents. Add issuetype != Sub-task or tighten the clauses.

Everything is slow or times out. The filters are too broad. Add a project, a date range, or a sprint clause, and reduce the number of issues each gadget displays.

If none of that helps, sign out and back in, then try a different browser without extensions. Only after that consider recreating the gadget, since you will lose its configuration.

Frequently Asked Questions

Can one filter on a dashboard control all gadgets at once?

No. Jira has no dashboard-wide filter selector. Each gadget holds its own saved filter, and the Filter Results gadget can offer a dropdown that applies only to itself.

Why do my colleagues see empty gadgets?

Filters run with the viewer's permissions. Share the saved filter with their group or project role, and confirm they can browse the projects it searches.

Can I use JQL directly in a gadget?

Some gadgets accept JQL, but saving it as a named filter is better: you can share it, fix it once, and reuse it across dashboards.

How do I show a different selection per team?

Create one filter per team and either add one gadget per filter or build a separate dashboard per team. Use currentUser() where "my team" can be derived from the logged-in user.

Do I need admin rights to add a filter to a dashboard?

No, you need edit rights on that dashboard and access to the filter. Admin rights only matter for dashboards and filters you do not own.