Recently I added an optional custom text field for my project and searching for issues with it empty is not returning all issues. JIRA version 5.2.2
Lets say I am working with a base JQL that returns 688 issues.
If to that base JQL I add "and customfield is empty" I get 0 issues.
If to that base JQL I add "and customfield is not empty" I get 210 issues.
So what is going on with the remaining 478 issues?
For reference I tried referring to the custom field in all the supported ways and my index is up to date. Could not find any bug report on this.
There's a third question that you can't actually ask properly: "Show me issues where the field is not valid". I suspect if you could answer it, you'll get 478 issues. This is because the field is neither empty or filled, it's not physically there. Bit like going into a clothes shop and asking for the beer rack - they don't have one, so there is no way to answer the question.
Look at the customfield list, find your custom field, and look at its "context" - I expect you'll find it is limited to a specific set of issue types and projects. If it were global, you'd get the answers you were expecting...
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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