Sha256: da98d1ea6815884206d5a27592d05a71b7d60a87f0ee46ffa7564c07990cb308

Contents?: true

Size: 407 Bytes

Versions: 2

Compression:

Stored size: 407 Bytes

Contents

#!/usr/bin/env ruby
#
#If running as part of distribution
require File.dirname(__FILE__) + '/../lib/jira4r/jira4r.rb'
#If using GEM install
#require 'jira4r/jira4r'



jira = Jira::JiraTool.new(2, "http://test.jira.codehaus.org")
jira.login("admin", "password")

#So we have an existing user
if not jira.getUser("midget")
  jira.createUser("midget", `date`.strip, "Midget User", "midget@example.com")
end


Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
remi-jira4r-1.0.0 examples/addComment.rb
mort666-jira4r-1.0.2 examples/addComment.rb