tags:

views:

5

answers:

1

I'm building a jira soap client that will allow me to update Jira issues.

Problem is when I look up an issue using the getIssue() method, a RemoteIssue object is returned but has nil values in all the standard attributes like: key, summary, description, etc.

Here is my simplified code:

require 'rubygems' require 'jira4r'

host = "http://testjiraserver"
user = "hudsonuser"
password = "husdonpw"
jira = Jira4R::JiraTool.new(2,host)
jira.login(user,password)
issue = jira.getIssue("BUILD-101")
puts issue.key

This returns the value nil, but a RemoteIssue object is returned and has appropriate values in some customfields that allow me to confirm I have returned the correct issue.