-
Notifications
You must be signed in to change notification settings - Fork 8
Home
austinmoody edited this page Sep 12, 2010
·
9 revisions
An attempt at creating a wrapper for the FogBugz API in Ruby.
FogBugz: www.fogbugz.com (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 ([email protected]) and he can add you as a collaborator.
You can install the gem from github.com by using these commands:
gem sources -a http://gems.github.com
sudo gem install austinmoody-fogbugz-api
- Hpricot
- A login to a FogBugz installation.
fb = FogBugz.new("my.fogbugzserver.com",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 = fb.search("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