-
Notifications
You must be signed in to change notification settings - Fork 3
Description
The method getIssuesFromJqlSearch is defined in the jira SOAP service specs here:
https://docs.atlassian.com/rpc-jira-plugin/5.0.4/
But, calling the method via the jira4r object fails due to the method not being defined within the JiraSoapServiceDriver.rb JiraSoapService class.
I added the following lines to the class to allow the method call to work with my jira instance:
[ XSD::QName.new(NsSoapRpcJiraAtlassianCom, "getIssuesFromJqlSearch"),
"",
"getIssuesFromJqlSearch",
[ ["in", "in0", ["::SOAP::SOAPString"]],
["in", "in1", ["::SOAP::SOAPString"]],
["in", "in2", ["::SOAP::SOAPInt"]],
["retval", "getIssuesFromJqlSearch", ["Jira4R::V2::ArrayOf_tns1_RemoteIssue", "http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "ArrayOf_tns1_RemoteIssue"]] ],
{ :request_style => :rpc, :request_use => :encoded,
:response_style => :rpc, :response_use => :encoded,
:faults => {"Jira4R::V2::RemoteException_"=>{:use=>"encoded", :name=>"RemoteException", :ns=>"http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", :namespace=>"http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", :encodingstyle=>"http://schemas.xmlsoap.org/soap/encoding/"}} }
],
That solved the issue and would be great if this were merged into the trunk of the project.