Sha256: 0009fd440a9beac8569d35957ab24aa40a7ae059f73525b912b7529e6c0f3502

Contents?: true

Size: 488 Bytes

Versions: 5

Compression:

Stored size: 488 Bytes

Contents

require 'rubygems'
require 'taskmapper'
require 'taskmapper-pivotal'
require 'taskmapper-lighthouse'

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

from = pivotal.project(97107)
to = lighthouse.project!(:name => "Copy Test on #{Time.now}", 
                          :description => "A copy test")
                          
to.copy(from)

puts "Copy finished."

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
taskmapper-1.0.1 examples/tm_example_4.rb
taskmapper-1.0.0 examples/tm_example_4.rb
taskmapper-0.9.0 examples/tm_example_4.rb
taskmapper-0.8.1 examples/tm_example_4.rb
taskmapper-0.8.0 examples/tm_example_4.rb