Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


austinmoody edited this page · 9 revisions
Clone this wiki locally

Ruby FogBugz API Wrapper

An attempt at creating a wrapper for the FogBugz API in Ruby.

FogBugz: (API Docs )

This is very much a work in progress. I needed to scratch an itch with an internal project and started on this. There are many functions of the API which are not yet implemented as a result. Please check the code to see what is done and what is not.

If you want to help out please e-mail Austin ( and he can add you as a collaborator.


You can install the gem from by using these commands:

gem sources -a
sudo gem install austinmoody-fogbugz-api


  • Hpricot
  • A login to a FogBugz installation.

Example Usage

fb ="",true) # create instance

Login to FogBugz

fb.logon("mylogin","mypassword") # logs into FogBugz and sets token

Searching For Cases (see search for more information)

mycases ="AssignedTo:\"Austin Moody\"") # search terms just as in FogBugz

Get a list of projects in FogBugz

projects = fb.projects

This would return a Hash of all Projects in FogBugz you can read.

Log off

fb.logoff # logout
Something went wrong with that request. Please try again.