Skip to content

Instantly share code, notes, and snippets.

@markburns
Created June 22, 2011 19:09
Show Gist options
  • Save markburns/1040856 to your computer and use it in GitHub Desktop.
Save markburns/1040856 to your computer and use it in GitHub Desktop.
trac import
require 'rubygems'
require 'ticketmaster'
require 'ticketmaster-pivotal'
require 'ticketmaster-trac'
require 'ruby-debug/debugger'
pivotal = TicketMaster.new(:pivotal, :username => '[email protected]',:password => 'password' )
pivotal_project = pivotal.project(some_integer)
trac = TicketMaster.new(:trac, {:username=> 'username', :password => "password", :url => "http://example.com"})
trac_project = trac.project
trac_project.copy(pivotal_project)
pivotal_project.copy trac_project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment