[python-bugzilla] Saved search with python-bugzilla

Cole Robinson crobinso at redhat.com
Tue May 20 13:33:59 UTC 2014


On 05/20/2014 02:53 AM, Jan Hollevoet wrote:
> I am trying to run a saved search with python-bugzilla 1.0.0 against a
> Bugzilla 4.2.2 database. First I use url_to_query and pass the dict
> ({'sharer_id': '1', 'savedsearch': 'Open bugs'}) to the query method
> of the BugzillaBase object. As a result I get
> 
>  xmlrpclib.Fault: <Fault 53: 'savedsearch is not a valid parameter for
> the Bugzilla::Bug::match function.'>
> 
> Any advice? Thanks in advance.

url_to_query and accessing savedsearch from the xmlrpc API are
bugzilla.redhat.com extensions which won't work with other bugzilla servers.

You will have to try and decompose your savedsearch into something that the
stock xmlrpc API already supports.

- Cole



More information about the python-bugzilla mailing list