1

Currently using FogBugz Version 7.0.34 (DB 717, Build 1080)

Is there anyway to create more complex search queries?

Probably from 2 different angles:

  1. Via the current Search string textbox. It would be great if I could search for a string in 'x' project or against 'y' milestone, rather than against everything.

  2. I'd also like to create filter queries that allow and/or expressions, e.g.

Search for all open bugs AND enhancements, raised by Jo Bloggs OR John Smith for project 'z'

Thanks.

flag

2 Answers

1

Check out Searching in FogBugz, especially the stuff on axis. Axis let you do something like:

project:x string

where you only want to search project x for string.

link|flag
1

Filters are basically AND only, but you can add a search component to any filter to address any OR filtering you'd like to do. For your example, just add

openedby:"Jo Bloggs" or openedby:"John Smith"

to the search. You can use the filter for the rest or mix them into the search as you like.

link|flag
Does grouping (with parentheses) work? – cdeszaq Sep 10 2010 at 13:23
Usually. Unfortunately, there is an unfixable bug that prevents some combinations of "and", "or", and grouping to work incorrectly. :( – Ted Sep 10 2010 at 15:21
@Ted - do you have a link to more details about that bug? Would like to know the boundaries of the problem a bit more clearly. Thanks! – Justine Sep 27 2010 at 15:33
The bug affects the way axis and full text searches are combined. Example: "(assignedto:ted apple) OR (assignedto:john banana)" What you really get: "(assignedto:ted or assignedto:john) AND (apple or banana)" Net result: you'll have cases that include assignedto:ted and banana, or assignedto:john and apple. – Ted Sep 27 2010 at 16:05

Your Answer

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