11

1

Sometimes, putting the whole name into the search is not convenient because it's too long. Or sometimes, the whole name of one project is a substring of several others, (e.g., searching for area:"spam" returns cases in both the Spam and Not Spam area because they both contain the substring "Spam"). How do I search on an axis, e.g. Project: for an exact match? When I search for Project:"foo" I get results for a project called "foobar". Or less abstractly, Milestone:"Widget 1.0" returns cases with the milestone "Widget 1.0.5"

Fog Creek Case FC1228177

flag
Just voted this one up. The index syntax works great but isn't conducive to helping others learn the search syntax. "All open cases that are active containing -AssignedTo:=15" doesn't tell you much. – GollyJer Dec 27 2010 at 22:39

1 Answer

6

It is not possible to tell FogBugz you want an exact match when you search on an axis like this. We have a case open for potential change to this behavior. All axes except tag: use substring matching. tag: finds exact matches. If you need a partial matched tag name, use an asterisk (*) wildcard.

A workaround is to use the little-known index syntax. You can search for the index of a field (project, area, etc) by using := after the axis name instead of : For example, Project:=54 instead of Project:"foo" if foo's ixProject is 54.

Find the ID of a project by hovering over the edit icon for it in Admin -> Projects and looking for "ixProject=" in the URL. You can do the same for a user ("ixPerson=" in the edit link in Admin -> Users) and other entities.

See the full search documentation for more details.

link|flag

Your Answer

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