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

JQL query when filter component is empty

Mohan Kona September 2, 2024 edited

I'm trying to write a JQL query with component filter with value not equal to Prod, and this gives zero matched issues below is the query used,

 project = <projectName>  AND component != Prod

NOTE: The respective tickets/issues have component field empty

 

1 answer

1 accepted

0 votes
Answer accepted
Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 2, 2024 edited

Hi @Mohan Kona and welcome to the Community!

If you want to find issues with no component on them, you need to search for them explicitly like this:

Project = <projectName> AND Component IS EMPTY

You can combine that with your previous search if you want to find issues with a different component listed than "Prod"

Project = <projectName> AND (Component IS EMPTY OR Component != "Prod")

Hope this helps!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events