7

4

I want to find cases with no due date, or cases with no tags, or cases with no correspondent. How do I do that? I can only see how to search for something, not how to search for nothing.

flag
The accepted answer also provides a method for searching for items that are NOT tagged with a specific tag (or tags). – Kenny Evitt Nov 5 2010 at 17:46

1 Answer

8

Okay, so... not the most intuitive thing in the world, but it's pretty easy once you get the hang of it. FogBugz search axes support both wildcards and negatives.

Thus, if you want to find any case with a due date:

due:"*"

Any case without a due date:

-due:"*"

Any open case with no correspondent, no due date, no tags?

status:open -due:"*" -tag:"*" -correspondent:"*"

And there you have it.

link|flag
While it's great that this can be done, it's fairly technical/unintuitive. I'd suggest supplementing this method with <axis:""> (without the angle brackets); for example <tag:""> for no tags or <correspondent:""> for a blank correspondent. I've done this with some internal fields, and it works pretty well -- still somewhat opaque, but I'd argue a lot more discoverable than the existing method you pointed out. (Even better would be a way to optionally negate an axis in the user-friendly filter builder without resorting to the Search For feature!) – Grip Apr 4 2011 at 22:46

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.