Skip to content

Instantly share code, notes, and snippets.

@jaxxstorm
Last active August 29, 2015 14:04
Show Gist options
  • Save jaxxstorm/65e01bf869093b1bf7d4 to your computer and use it in GitHub Desktop.
Save jaxxstorm/65e01bf869093b1bf7d4 to your computer and use it in GitHub Desktop.
require 'jira'
require 'pp'
options = {
:username => 'admin',
:password => 'password',
:site => 'http://localhost:8081',
:context_path => '/',
:auth_type => :basic,
:use_ssl => false
}
client = JIRA::Client.new(options)
issue = client.issue.find("136985")
issue = client.issue.transition("136985")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment