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?
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.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot