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.
I'm trying to write a JQL filter for a Kanban board that includes only issues that have a certain Priority assigned, but only for one Issue Type in the project. What's the best way to do that?
Welcome to the Atlassian Community!
A JQL quick filter like this should do the trick:
!(Priority is empty and issuetype = bug)
Thanks, Nic! I think I wrote my initial question a bit wrong. I want to keep all the issuetypes, but only include issues in one issuetype that have a certain priority assigned (we don't use the Empty state for priority, we have one called "Unassigned"). I tried your suggestion but it excluded all the other issue types from the query.
It's part of a larger query so I added it on like this:
!(project = [xyz] AND (assignee != [xyz] or assignee is EMPTY) AND "Resolution Estimate[Date]" is EMPTY) AND (fixVersion in unreleasedVersions() OR fixVersion is EMPTY) AND (priority = Unassigned AND issuetype = "Prod Defect")
Any ideas? Thank you!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No problem, that clause you've added there will throw out all of the other issue types because there is "and issuetype = Prod Defect" in it.
Try replacing
(priority = Unassigned AND issuetype = "Prod Defect")
with
( (priority = Unassigned AND issuetype = "Prod Defect") OR issuetype != "Prod Defect")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That worked, thank you so much!! I know this is a pretty basic question but I'm fairly new to JQL. Appreciate your help!
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.