Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to filter tickets using multiple labels

Srijit Ghosh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2022

Hi - I have a team-managed software project (next-gen). I have a lot of Epics using multiple labels (e.g. Q1-2022, US, DataSupport). Currently, when I select all 3 labels in Board or Roadmap view, it shows me all Epics that contain at least 1 of these labels. Is there a way for me to filter only those Epics that contain all 3 labels? 

1 answer

2 votes
Nayana N
Contributor
January 28, 2022

Hey @Srijit Ghosh ,

 

Try writing a query as shown below :-

project = CM AND ( labels = Q1-2022 AND labels = US AND labels = DataSupport ) 

In order to display all three labels you need to use AND operator .

 

Thanks,

Nayana N

Srijit Ghosh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2022

Thanks for your response, Nayana! But how do I use JQL on the roadmap?

Screenshot 2022-01-28 at 5.50.03 PM.png

Like Christian Roth likes this
Soporte Atl
Contributor
April 21, 2022

Hi,

Same thing happens in the chronogramme / timetable view.

If more than one label is marked the condition applied is OR.

Looking for a way to make it AND.

Tried using JQL in the search box but Jira shows a _Loading_ message that doesn't return any result.

Has anybody found a solution to this issue?

Thanks!
M

 

image.png

Jamie Lavington
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 26, 2022

Hi @Soporte Atl

I think I've managed to get this working.

First, I created and saved a filter using the JQL query from @Nayana N as a starting point.

I've then created a new plan using this saved filter as the source and my plan now shows all issues that have both of the labels I've specified.

Hope that helps!

Jamie

Soporte Atl
Contributor
May 26, 2022

Thanks, @Jamie Lavington.

Will try your approach.

Regards,

M

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events