57

7

Is it possible to edit the template that FogBugz uses for notification emails? I want to add additional information to the email that is sent when a new case is created or updated. Note, this could include HTML / rich-text formatting.

Fog Creek Case FC1874084

flag

3 Answers

3

If you run FogBugz on your own server (not FogBugz On Demand) and have the latest version you can edit the source code to customize the notification emails.

  1. Open up CBug.was in fogbugz/src-Website and alter the InternalSendOneEmailNotification function.

    Example: if you want FogBugz not to truncate the message at 200 characters, change the call to GetTextSummary and change the value from 200 to something else.

  2. Stop the maintenance service and IIS (wait, you're doing this in a test environment, right?)

  3. Rebuild the application with the build.bat file in the FogBugz directory
  4. Start the maintenance service and IIS
  5. Test and enjoy
link|flag
Note that this tip only works for installed FogBugz, not the hosted version. – Jake B Feb 24 2010 at 16:23
updated to reflect that, thanks! – adambox Jul 13 2010 at 14:36
appears to be obsolete. cannot find this function in latest version. – Assaf Aug 9 at 11:48
@Assaf, it is now in InternalSendOneEmailNotification – adambox Aug 10 at 18:45
0

+1 on this request for FB OnDemand.

While I don't mind putting the FogBugz name in the body of the email to show clients what case tracking system I use, it's confused more that 1 customer when they get an email from me with the FogBugz name in the subject. If I could at least change it from FogBugz case (xxx) to [companyname] case (xxx) that would be a huge step!

link|flag
0

We also need something like this since we are receiving customer cases via a web frontend and wanted to customize the subject and the content of those mails to contain the customer name and a few other fields.

So I made a plugin for it.

The plugin allows administrators to create template-based email notifications for case actions. Templates can contain special keywords for Fogbugz fields that will be substituted for the real values. Notifications can be configured per project and/or per action.

Fields from the custom fields plugin are also supported.

It does not affect in any way the "regular" Fogbugz email notifications.

In order to better control how and when these emails are sent, users must individually enable "Template Notifications" from the options screen before they can receive notifications from this plugin.

As with internal Fogbugz notifications, the notification mails are only sent to the "Assigned to" person after performing a case action and only if the person doing the action is not the same as the "assigned to" person.

The plugin is available at the Fogbugz plugin gallery.

link|flag

Your Answer

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