code: def get_bugs(self, project, status=None):
          
          uri = '{base}/{project}'.format(base=self.BASE_URI, project=project)
          parameters = {'ws.op': 'searchTasks'}
  
          if status:
              parameters['status'] = status
  
          resp = self._client.get(uri, model=models.Bug, is_collection=True,
                                  params=parameters)
  
          return resp
docs: Retrives a List of bugs for a given project.
          By default, this will only return activate bugs. If you wish to
          retrieve a non-active bug then specify the status through the
          status parameter.
  
          :param project: The formal project name.
          :param status: Allows filtering of bugs by current status.