You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
How do I write a filter so it returns only items that contain two specific Labels?
Right now, I have my filter written and selected my two labels. The results show me all Epics with either label on it. I only want to see Epics that have both labels. Seems simple, but I can't figure it out.
Thanks,
Tracy
I figured it out! project = EXBA AND issuetype = Epic AND labels in (ccc_health_assessment) AND labels in (2021_h1_planned) ORDER BY cf[10009] DESC, cf[20963] DESC, created DESC
That looks strangely familiar!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try this….
Project = abc and labels = string1 and labels = string2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
project = EXBA AND issuetype = Epic AND labels = ccc_health_assessment and labels = 2021_h1_planned ORDER BY cf[10009] DESC, cf[20963] DESC, created DESC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK and how to "exclude" Epics / Stories having a dedicated label? This doesn't work -> labels != toto or labels not in ("toto")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tracy,
Can you share the JQL of the filter you've written?
Thanks,
Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dave,
project = EXBA AND issuetype = Epic AND labels in (ccc_health_assessment, 2021_h1_planned) ORDER BY cf[10009] DESC, cf[20963] DESC, created DESC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jack has given you the correct answer below.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.