Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 26 lines (21 sloc) 0.546 kB
#!/usr/local/bin/ruby
require 'rubygems'
require 'rally_rest_api'
require 'date'
require File.dirname(__FILE__)+"/common"
config = Common.load_config
type = ARGV[0].to_sym
rally = RallyRestAPI.new(
:username => config[:username],
:password => config[:password]
)
ARGV.each do |arg|
type = arg[0..1].downcase.to_sym
rally.find(Common.rally_type(type)){ equal :formatted_i_d, arg }.each do |x|
changes = {
:schedule_state => 'In-Progress',
:owner => config[:username]
}
x.update changes
end
end
Jump to Line
Something went wrong with that request. Please try again.