Clone this wiki locally
API WrapperRuby FogBugz
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@example.com) 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
- 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.
fb.logoff # logout