<div dir="ltr">Florian; think what you are looking for is at [1].<div><br></div><div>The BugZilla XMLRPC API might be a good reference too, if you&#39;d like to compose a query with fields that python-bugzilla does not explicitly support.</div><div><br></div><div>Hope that helps.<br><br><div>[1] <a href="https://github.com/python-bugzilla/python-bugzilla/blob/master/bugzilla/base.py#L1092">https://github.com/python-bugzilla/python-bugzilla/blob/master/bugzilla/base.py#L1092</a></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jun 1, 2015 at 7:27 PM Florian Weimer &lt;<a href="mailto:fweimer@redhat.com">fweimer@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The docstring for Bugzilla.query<br>
<br>
    def query(self, query):<br>
        &#39;&#39;&#39;Query bugzilla and return a list of matching bugs.<br>
        query must be a dict with fields like those in in<br>
querydata[&#39;fields&#39;].<br>
        Returns a list of Bug objects.<br>
        Also see the _query() method for details about the underlying<br>
        implementation.<br>
        &#39;&#39;&#39;<br>
refers to _query, but this method is no longer very informative:<br>
<br>
    def _query(self, query):<br>
        # This is kinda redundant now, but various scripts call<br>
        # _query with their own assembled dictionaries, so don&#39;t<br>
        # drop this lest we needlessly break those users<br>
        log.debug(&quot;Calling Bug.search with: %s&quot;, query)<br>
        return self._proxy.Bug.search(query)<br>
<br>
So it&#39;s a bit difficult to figure out how to actually compose queries.<br>
<br>
--<br>
Florian Weimer / Red Hat Product Security<br>
_______________________________________________<br>
python-bugzilla mailing list<br>
<a href="mailto:python-bugzilla@lists.fedorahosted.org" target="_blank">python-bugzilla@lists.fedorahosted.org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/python-bugzilla" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/python-bugzilla</a><br>
</blockquote></div>