Sha256: 14d356f0ba5d8a0c72dbec51db33851378023b790620d673c94f4392c4da2cb3

Contents?: true

Size: 539 Bytes

Versions: 5

Compression:

Stored size: 539 Bytes

Contents

require 'rubygems'
require 'ticketmaster'
require 'ticketmaster-pivotal'
require 'ticketmaster-lighthouse'

# copy all tickets and comments from pivotal tracker to new lighthouse project (the easy way)
pivotal = TicketMaster.new(:pivotal)
pivotal_project = pivotal.project(97107)
lighthouse = TicketMaster.new(:lighthouse)

lighthouse_project = lighthouse.project!(:name => "Copy Test on #{Time.now}", 
                                         :description => "A copy test")
lighthouse_project.copy(pivotal_project)
puts "Copy finished."

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ticketmaster-0.6.7 examples/tm_example_4.rb
ticketmaster-0.6.6 examples/tm_example_4.rb
ticketmaster-0.5.6 examples/tm_example_4.rb
ticketmaster-0.5.5 examples/tm_example_4.rb
ticketmaster-0.5.3 examples/tm_example_4.rb