bug 949282 extend bugs service to support query-by-bug