Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Home

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: 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 (austin.moody@gmail.com) and he can add you as a collaborator.

Installation

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

Requirements

  • Hpricot
  • A login to a FogBugz installation.

Example Usage

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
Something went wrong with that request. Please try again.