Skip to content

hybridgroup/taskmapper-fogbugz

Repository files navigation

taskmapper-fogbugz

This is the TaskMapper adapter for interaction with Fogbugz

Usage

Initialize the taskmapper-fogbugz instance using your email, password, and Fogbugz URI:

fogbugz = TaskMapper.new(
  :fogbugz,
  :email => "YOUR_EMAIL",
  :password => "YOUR_PASSWORD",
  :uri => "https://YOUR_SUBDOMAIN.fogbugz.com",
)

Finding Projects

You can find your own projects by using:

projects = fogbugz.projects
projects = fogbugz.projects ["project_id", "another_project_id"]
project = fogbugz.projects.find :first, "project_id"
projects = fogbugz.projects.find :all, ["project_id", "another_project_id"]

Finding Tickets

tickets = project.tickets # All open tickets
tickets = project.tickets :all, :status => 'closed' # all closed tickets
ticket = project.ticket 981234

Opening A Ticket

ticket = project.ticket!(
  :description => "Content of the new ticket."
)

Updating Tickets

ticket.description = "New description"
ticket.save

Dependencies

Contributing

The main way you can contribute is with some code! Here's how:

  • Fork taskmapper-fogbugz
  • Create a topic branch: git checkout -b my_awesome_feature
  • Push to your branch - git push origin my_awesome_feature
  • Create a Pull Request from your branch
  • That's it!

We use RSpec for testing. Please include tests with your pull request. A simple bundle exec rake will run the suite. Also, please try to TomDoc your methods, it makes it easier to see what the code does and makes it easier for future contributors to get started.

(c) 2013 The Hybrid Group

About

Ticketmaster provider for Fogbugz API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages