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?

Thanks!

1 answer

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

135 views 2 0
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