affectedVersion != version OR affectedVersion is EMPTY does not work

Hi all,

a colleague recently wrote a JQL which amongst other things, filters on affectedVersion, f.e.

AND (affectedVersion != ABC_4.13.4  OR affectedVersion is EMPTY)


However, the result the query provides is only '!=ABC_4.13.4'. It does not list any issues where the affectedVersion is EMPTY.

Is this a bug or works as designed? Does anybody here now how to achieve the desired result?


1 answer

This should work - there is probably something else in your query that filters those issues. Given the fact that you have an "AND" at the beginning tells me that what you have posted is just a subquery. Check what other conditions you have in the query and find the one that is restricting your issues from showing.

Sadly it doesn't work. Even if I strip the query down to:

project = ABC AND fixVersion = ABC_4.13.4  AND (affectedVersion != ABC_4.13.4  OR affectedVersion is EMPTY)


Ok, I think this might be an index issue. Because if I do:

project = ABC AND fixVersion = ABC_4.13.4 and affectedVersion is EMPTY

I get 0 results.

However, if I do:

project = ABC AND fixVersion = ABC_4.13.4

 I get 12 results, of which 6 apparently have an EMPTY affectedVersion.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,327 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot