예제 #1
0
파일: user.py 프로젝트: dlutzy/jirasurvivor
 def issues(self, state):
     from survivor.models.issue import Issue
     return Issue.objects(assignee=self, state=state)
예제 #2
0
파일: user.py 프로젝트: dlutzy/jirasurvivor
 def reported_issues(self):
     from survivor.models.issue import Issue
     return Issue.objects(reporter=self)
예제 #3
0
파일: user.py 프로젝트: dlutzy/jirasurvivor
 def closed_issues(self):
     from survivor.models.issue import Issue
     return Issue.objects(assignee=self, state="closed", finished_or_fixed=True)
예제 #4
0
 def issues(self, state):
     from survivor.models.issue import Issue
     return Issue.objects(assignee=self, state=state)
예제 #5
0
 def reported_issues(self):
     from survivor.models.issue import Issue
     return Issue.objects(reporter=self)
예제 #6
0
 def closed_issues(self):
     from survivor.models.issue import Issue
     return Issue.objects(assignee=self,
                          state="closed",
                          finished_or_fixed=True)