def _get_bugs(self): return Bug.select( OR( Bug.q.reporter == self.email, Bug.q.assignedTo == self.email, Bug.q.qaContact == self.email, BugComment.q.author == self.email, ) )
def _get_bugsByComments(self): return Bug.select(BugComment.q.author == self.email)
def _get_bugsByAssignedTo(self): return Bug.select(Bug.q.assignedTo == self.email)
def _get_bugsByQAContact(self): return Bug.select(Bug.q.qaContact == self.email)
def _get_bugsByReporter(self): return Bug.select(Bug.q.reporter == self.email)