code: def search(params = {})
        params[:creation_time]    &&= to_xmlrpc_timestamp(params[:creation_time])
        params[:last_change_time] &&= to_xmlrpc_timestamp(params[:last_change_time])
        params[:product]          ||= product if product
  
        results = execute('Bug.search', params)['bugs']
        return [] if results.nil?
        results
      end
docs: http://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/WebService/Bug.html#search