Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,729
Community Members
 
Community Events
184
Community Groups

Kanban board filter query to include issues with a certain Priority but in only one issueType

Edited

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?

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 04, 2023

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!!

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 04, 2023

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") 

 

That worked, thank you so much!! I know this is a pretty basic question but I'm fairly new to JQL. Appreciate your help!

Suggest an answer

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

Atlassian Community Events