Jira: Filter Issues by Specific Labels
Ever found yourself wishing to keep your Jira board clean and focused by showing only relevant labels? You're not alone. Label filtering is an excellent way to manage your workflow, making it easier to navigate through numerous issues. But how can you achieve this? Let's dive into the world of Jira's label filtering.
Before we start, let's ensure we're on the same page. Labels in Jira are user-defined tags that you can assign to issues. They help in grouping and categorizing tasks, stories, or bugs. Now, let's explore how to make these labels work for you, instead of against you.
Understanding Jira's Label Filters
Jira's Advanced Roadmap feature allows you to filter labels, among other options, to create your ideal board view. This feature is available on Jira Software Cloud Premium and Enterprise plans.
But labels aren't just for roadmaps. You can also filter labels in other views like the Project board, Agile boards, or even in JQL searches. So, let's start by understanding how to filter labels in these views.
Filtering Labels on the Project Board
The simplest way to filter labels is on the Project Board. Above the issues table, you'll find a search bar. Click on it, and you'll see options to filter by label. Type in the label you want to show, and hit enter. Voila!Only issues with that label will now display.
But remember, this is a temporary filter. Close the search bar, and your board will revert to showing all issues. If you want a persistent filter, you'll need to create a new board or switch to an existing one with the desired filter applied.
Filtering Labels on Agile Boards
Agile boards also let you filter labels. In the header, click on the 'Filter' button. You'll see an option to 'Filter by label'. Click on it, and you can select one or multiple labels to filter.
These boards also support quick filters. Click on the '+' icon next to the filter button, then click on 'Add quick filter'. Give it a name, select the label, and save. Now, switching views is as simple as clicking on the quick filter name.
Creating Powerful Label Filters with JQL
JQL (Jira Query Language) takes label filtering to the next level. It's like SQL for Jira, allowing you to create complex queries to retrieve specific issues. If you're comfortable with queries, JQL gives you immense power.
Here's a basic example: let's say you want to find all stories that have the 'bug' AND 'showstopper' labels. You would use the following JQL query:
You can run this query in the Jira issue navigator, or use it to create a saved filter or a dashboard gadget.
Combining Label Filters with Other Parameters
JQL's power lies in its ability to combine different parameters. For instance, you can find all high-priority bugs created last week with the following query:
-7d, priority = "High"]
Think of JQL as a Swiss Army knife. It's versatile, allowing you to filter in a multitude of ways that best suit your needs.
Filtering Labels in Advanced Roadmaps
Advanced Roadmaps allow you to plan and schedule your work in a timeline view. You can filter labels here too, using the 'Labels' filter in the roadmap's filter bar.
Roadmaps let you filter labels in a more nuanced way. You can choose to show only issues with a specific label, or only issues that don't have a certain label. This is particularly useful when you want to see all issues that aren't part of a specific category, for example.
Now that you know how to show only certain labels in Jira, it's time to put this knowledge into practice. Go ahead, streamline your views, and make your Jira experience more manageable. Happy filtering!