I'm trying this query over xmlrpc: {'f1': 'flagtypes.name', 'product': ['Red Hat Enterprise Linux 6'], 'query_format': 'advanced', 'component': ['python-virtinst'], 'v1': 'devel_ack+', 'o1': 'anywords'} But it doesn't return anything. The same query works in the web interface. Additionally, this query throws an error: {'f1': 'cf_qa_whiteboard', 'product': ['Red Hat Enterprise Linux 6'], 'query_format': 'advanced', 'component': ['python-virtinst'], 'v1': 'Domain', 'o1': 'anywords'} Server error: <Fault 108: "Can't use cf_qa_whiteboard as a field name."> Similar error if just trying qa_whiteboard. Dropping the field bits from that query, so it is just product + component + query_format works fine, so it's not those pieces presumably.
(In reply to comment #0) > I'm trying this query over xmlrpc: > > {'f1': 'flagtypes.name', 'product': ['Red Hat Enterprise Linux 6'], > 'query_format': 'advanced', 'component': ['python-virtinst'], 'v1': > 'devel_ack+', 'o1': 'anywords'} > > But it doesn't return anything. The same query works in the web interface. Assuming you are using Bug.search, you need to add 'query_format': 'advanced' in the data you send. This is documented at https://bugzilla.redhat.com/docs/en/html/api/Bugzilla/WebService/Bug.html#search > Additionally, this query throws an error: > > Server error: <Fault 108: "Can't use cf_qa_whiteboard as a field name."> > > Similar error if just trying qa_whiteboard. > > Dropping the field bits from that query, so it is just product + component + > query_format works fine, so it's not those pieces presumably. The correct field name is cf_qa_whiteboard. I would suspect you are not logged in, and therefore are unable to see that field. If you need help with any of the above issues, please reopen the bug, and I'll take a look. -- simon
Unless you mean something different, query_format=advanced is in both queries I pasted above. And yeah I'm using Bug.search You were right about the whiteboard thing though, I wasnt logged in. And now that I try the first query again, being logged in seems to have fixed things. Just curious, is there an internal mailing list for bugzilla? And/or an internal git repo of our current deployed bugzilla? I'm working on python-bugzilla and I'm interested in how our deployment differs from stock bugzilla that presumably most other people use.
I should note the flags query doesn't require being logged in, since I just tried it on some fedora-review bugs while not logged in and it succeeded.