This was working at least last week: $ bugzilla --debug query --assigned_to crobinso INFO:bugzilla:Connecting to https://bugzilla.redhat.com/xmlrpc.cgi INFO:bugzilla:Autodetecting Bugzilla type INFO:bugzilla:Using RHBugzilla3 for URL containing bugzilla.redhat.com INFO:bugzilla:Using cookies in /home/crobinso/.bugzillacookies for authentication DEBUG:bugzilla:bz.query: {'emailtype1': 'substring', 'emailassigned_to1': True, 'email1': 'crobinso'} DEBUG:bugzilla:request_url is https://bugzilla.redhat.com/xmlrpc.cgi DEBUG:bugzilla:send_cookies(): using existing cookiejar DEBUG:bugzilla:cookie_request headers currently: [] DEBUG:bugzilla:cookie_request headers now: [('Cookie', 'Bugzilla_logincookie=v2rEJmPRNC; Bugzilla_login=199727')] DEBUG:bugzilla:sending cookie: Cookie=Bugzilla_logincookie=v2rEJmPRNC; Bugzilla_login=199727 DEBUG:bugzilla:cookiejar now contains: {'.bugzilla.redhat.com': {'/': {'Bugzilla_logincookie': Cookie(version=0, name='Bugzilla_logincookie', value='v2rEJmPRNC', port=None, port_specified=False, domain='.bugzilla.redhat.com', domain_specified=True, domain_initial_dot=True, path='/', path_specified=False, secure=True, expires=2145916800, discard=False, comment=None, comment_url=None, rest={}, rfc2109=False), 'Bugzilla_login': Cookie(version=0, name='Bugzilla_login', value='199727', port=None, port_specified=False, domain='.bugzilla.redhat.com', domain_specified=True, domain_initial_dot=True, path='/', path_specified=False, secure=True, expires=2145916800, discard=False, comment=None, comment_url=None, rest={}, rfc2109=False)}}} Server error: <Fault 53: 'emailassigned_to1 is not a valid parameter for the Bugzilla::Bug::match function.'> Using python-bugzilla from fedora 16.
Pulled python-bugzilla from git, which has some specific bugzilla4 handling, But still the same issue: $ bugzilla --debug query --assigned_to crobinso INFO:bugzilla:Connecting to https://bugzilla.redhat.com/xmlrpc.cgi INFO:bugzilla:Autodetecting Bugzilla type INFO:bugzilla:Using RHBugzilla4 for URL containing bugzilla.redhat.com INFO:bugzilla:Using cookies in /home/crobinso/.bugzillacookies for authentication DEBUG:bugzilla:bz.query: {'emailtype1': 'substring', 'emailassigned_to1': True, 'email1': 'crobinso'} DEBUG:bugzilla:request_url is https://bugzilla.redhat.com/xmlrpc.cgi DEBUG:bugzilla:send_cookies(): using existing cookiejar DEBUG:bugzilla:cookie_request headers currently: [] DEBUG:bugzilla:cookie_request headers now: [('Cookie', 'Bugzilla_logincookie=gNmqgZYCT6; Bugzilla_login=199727')] DEBUG:bugzilla:sending cookie: Cookie=Bugzilla_logincookie=gNmqgZYCT6; Bugzilla_login=199727 DEBUG:bugzilla:cookiejar now contains: {'.bugzilla.redhat.com': {'/': {'Bugzilla_logincookie': Cookie(version=0, name='Bugzilla_logincookie', value='gNmqgZYCT6', port=None, port_specified=False, domain='.bugzilla.redhat.com', domain_specified=True, domain_initial_dot=False, path='/', path_specified=True, secure=True, expires=2145916800, discard=False, comment=None, comment_url=None, rest={'HttpOnly': 'None'}, rfc2109=False), 'Bugzilla_login': Cookie(version=0, name='Bugzilla_login', value='199727', port=None, port_specified=False, domain='.bugzilla.redhat.com', domain_specified=True, domain_initial_dot=False, path='/', path_specified=True, secure=True, expires=2145916800, discard=False, comment=None, comment_url=None, rest={'HttpOnly': 'None'}, rfc2109=False)}}} Server error: <Fault 53: 'emailassigned_to1 is not a valid parameter for the Bugzilla::Bug::match function.'>
(In reply to comment #1) > Pulled python-bugzilla from git, which has some specific bugzilla4 handling, > But still the same issue: > > Server error: <Fault 53: 'emailassigned_to1 is not a valid parameter for the > Bugzilla::Bug::match function.'> As per https://partner-bugzilla.redhat.com/docs/en/html/api/Bugzilla/WebService/Bug.html#search the value you are looking for is 'assigned_to', not 'emailassigned_to1' -- simon
Hmm, okay, the simpler thing is probably for python-bugzilla to add query_format='advanced' to the queries which preserves the old query format (which is also the same format the web search is using). Reassigning this bug to python-bugzilla
I'm seeing this problem as well. It's kind of a big deal for me as I use python-bugzilla to query for various bugs assigned to people on my team. Is there any workaround? I feel like an idiot, but I grepped the entire sourcetree for emailassigned_to1, and I cannot find where it's coming from.
This has been fixed for a while