10. Saved filters and the query language

A saved filter is a named search over the project's issues. Write it once in a small query language, then reuse it in the Backlog and Board, export it, or have it emailed.

Where to start: Settings > Team and setup > Saved filters > New

Step 1. Create a filter

  1. Open Settings > Team and setup and click Saved filters, then New.
  2. Type the name My open bugs.
The Basic editor: 1 each row is a condition (field, test, value), 2 buttons add more conditions, 3 Advanced switches to the query bar.
Figure 1. The Basic editor: 1 each row is a condition (field, test, value), 2 buttons add more conditions, 3 Advanced switches to the query bar.
  1. Click Advanced and type type = Bug AND statusCategory != Done ORDER BY priority DESC in the query bar. While you type, Agile offers what can come next and says how many issues match.
The filter form: 1 name, 2 who can see it, 3 the query with its live match count and explanation, 4 sort order.
Figure 2. The filter form: 1 name, 2 who can see it, 3 the query with its live match count and explanation, 4 sort order.

Tip. A typo is explained under the bar, for example Unknown field 'statu'. Did you mean 'status'? Ctrl+Space opens the list of fields and operators.

  1. Click the save icon.
The saved filter: 1 the match count, 2 Open results shows the issues in the Backlog, 3 Export downloads them as a CSV file.
Figure 3. The saved filter: 1 the match count, 2 Open results shows the issues in the Backlog, 3 Export downloads them as a CSV file.

Step 2. Use the filter

  1. Open the Backlog, click the search box and type My open. Click the small arrow beside Search Saved filter and choose My open bugs.
The saved filter is now a facet in the search box (1) and the list (2) shows only matching issues. It combines with other choices.
Figure 4. The saved filter is now a facet in the search box (1) and the list (2) shows only matching issues. It combines with other choices.