FogBugz Technical Support

A forum for technical support discussion related to Fogbugz.
The current FogBugz Knowledge Base can be found at

Posts by Fog Creek Employees are marked:

Release Notes
Network Status

How can I get better area sorting?

Running FB 4 under OS X Server, I've looked at the various options for collecting reports from the field and I've come to realize that my best option is to write a little php script that takes a form submission and packages it into an email which is then fed into FB. (scoutSubmit was too limiting.)

This works fine, except automatic Area sorting isn't great. It seems to just put everything into the same, first area.

I've had little luck with trying to train the filtering manually.

Is there something I can put into the email that would help with this? In the mail headers? In the subject? In the body of the message?

Just as FB picks up on (Case XXX), is there someway to get it to grab Area, too?
Terrence Talbot Send private email
Monday, December 19, 2005
You should be able to do this with Autosort if you use some keywords in the title, and set the mailbox to use autosort.  Once you train it a bit, it will learn.
Michael H. Pryor Send private email
Monday, December 19, 2005
Yes, I've been "training" it now for close to three months (1000+ submissions) and it never seems to get any better.

What does the algorithm match on? Do I have to use the full area name, e.g., "Publishing/Uploading" -- makes the subject ugly. Using two and three letter abbreviations "Pub" did nothing.
Terrence Talbot Send private email
Monday, December 19, 2005
You only have to train on 15 documents to get it started.  See here for more info:

It has to stay in the project that it is autosorted to, and you have to move it to a different area.

Is it still dropping all your mail in Undecided?

If you look at a message it will say "FogBugz still in training" or "Message moved to area blah by FogBugz autosort".  Do you see that?
Michael H. Pryor Send private email
Monday, December 19, 2005
No, FB is sorting the incoming mail. I see plenty of "Sorted by FogBugz" "Area changed from X to Y" in the reports. I'm saying that it's just not doing a very good/accurate job of it, after many weeks of "training."

Is there a way I can reset the filters and re-train? Or, even better, I note this in the documentation:

"Although the learning process is automatic, it works best where there are specific consistent attributes of a message and message headers that FogBugz AutoSort can cue off of."

Is this saying that I could add my own custom header to the email, e.g., X-FogBugz-Area:, or something like that, that would be a cue/clue that FB will look at? (That way, I can stop cluttering up the subject and give it a larger string to match on.)

So: 1) will it look at my own custom header; and 2) how can I reset the filtering such that I can re-train (quickly) with this new header?
Terrence Talbot Send private email
Monday, December 19, 2005
So I did an experiment this morning. I injected "X-BugReporter-Area: Inquiry" into the mail headers before submitting an email to the sytem. It does not show up anywhere in the tokens list.


How can I fix this situation?

A) I don't really want to put "Inquiry" or "Component X" into every subject line; and

B) That's not working anyway...

Terrence Talbot Send private email
Tuesday, December 20, 2005
It won't look at custom headers I believe.

It will however use the tokens if you place them in the subject (or even in the body of the mail).

You should probably reset your training (you can do that by going to the site page and clicking the reset link) and start over.
Michael H. Pryor Send private email
Tuesday, December 20, 2005

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
Powered by FogBugz Bug Tracking and Evidence-Based Scheduling.