Skip to content

Instantly share code, notes, and snippets.

@bastos
Created May 14, 2010 13:38
Show Gist options
  • Save bastos/401152 to your computer and use it in GitHub Desktop.
Save bastos/401152 to your computer and use it in GitHub Desktop.
Ruby XML RPC Example
require "xmlrpc/client"
require "pp"
server = XMLRPC::Client.new2("http://myfancyjira.com/rpc/xmlrpc")
auth = server.call("jira1.login",'trololologin', 'trolololopassword')
server.call("jira1.getIssuesFromFilter",auth, '<<filter id>>').each do |issue|
puts issue["summary"]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment