getIssuesFromJqlSearch not working

Rama Vijay April 23, 2012

Hi, I am trying to getIssuesFromJqlSearch, i am getting error

xmlrpc.client.Fault: <Fault 0: 'java.lang.NoSuchMethodException: com.atlassian.j
ira.rpc.xmlrpc.JiraXmlRpcService.getIssuesFromJqlSearch(java.lang.String, java.l
ang.String, int)'>

Jira version: 4.4.4

Plugin version 4.4.4

i am using python to access the api:

here is the sample:

def __init__(self, uname,pwd):
self.server = xmlrpc.client.ServerProxy(self.SERVER_URL)
self.username = uname
self.password = pwd
self.auth = self.server.jira1.login(self.username, self.password)

def testnewfilter(self):
issues = self.server.jira1.getIssuesFromJqlSearch(self.auth, "project = ENG AND issuetype = Bug", 1000)
#issues = self.server.jira1.getIssuesFromTextSearch(self.auth, "Regression"); thhis is working
print(len(issues))

Please help me to find out the issue with the api

thanks

Rama

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 23, 2012

There is no such method in XmlRpc. See http://docs.atlassian.com/rpc-jira-plugin/4.4/com/atlassian/jira/rpc/xmlrpc/JiraXmlRpcService.html

You moght want to use SOAP if you need that method!

TAGS
AUG Leaders

Atlassian Community Events