3

I want to make some changes to the way FogBugz works. What are my options?

flag

1 Answer

2

To make the kind of changes you're looking for, you would need to do some custom programming either via the XML API or by creating a plugin. For modifying visual elements, you might consider writing a BugMonkey script, and if the other options don't work for you, you can change the FogBugz website source code. You'll probably want to reference the FogBugz developers Wiki at https://developers.fogbugz.com/default.asp?W1. This will give you a good introduction to both the plugin interface as well as the XML API, but here's a brief overview of how you could the various methods to solve your problem:

Option 1: XML API

You could write a custom program or web service that interfaces with FogBugz via the XML API to make changes to cases. If writing a web service, you might consider using the URLTrigger plugin. This plugin can be set up to target a parameterized URL each time an event happens related to a case, allowing your web service to interact with FogBugz more or less in real time.

To see an example of how to make simple Excel reports using the XML API, check out this article: An API Tutorial Plus Excel 2007 Export… Plus Zombies!

Here are some resources for getting started with the FogBugz XML API:

Option 2: Write a plugin

See "An Introduction to Plugins" ( https://developers.fogbugz.com/default.asp?W37 ) on the developers wiki. If you are familiar with .NET development, making a plugin should be fairly straight-forward. Plugins live directly alongside your FogBugz runtime and allow for more advanced customizations and the ability to add entirely new features.

Option 3: Write a BugMonkey script

BugMonkey allows you to write javascript code to modify the visual elements of FogBugz. You can access your BugMonkey scripts by going to My Settings > Customizations from the FogBugz menu. Check out some sample scripts at our Stack Exchange site: http://fogbugz.stackexchange.com/questions/59/bugmonkey-script-archive. We recommend only using BugMonkey to modify the "View" aspect of FogBugz; you probably don't want to use BugMonkey to try to change the behavior of FogBugz.

Option 4: Modify the source code (Licensed Installations Only)

NOTE! If you modify the source code without explicit instruction by our Fog Creek support team, your installation may be in a position where we can no longer support it.

If the other options for customizing FogBugz don't work for you, you can always modify the FogBugz source code, which is located in the src-Website folder of your FogBugz installation directory. After making modifications, you'll want to run the build.bat file in the root folder of your FogBugz installation directory. Modifying the source code directly should be a last resort and should probably only be considered if the other development options don't do what you want. See the instructions here.

While FogBugz is built with a particular design philosophy in mind, it is tremendously flexible in allowing for customizations. Hopefully one of these options works for you!

link|flag

Your Answer

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