예제 #1
0
 def sync_bugs(self):
     """
     Refresh the data for all matched bugs from Bugzilla.
     """
     from scrum.tasks import update_bug_chunks
     update_bug_chunks(self.only('id'))
예제 #2
0
 def refresh_bugs_data(self, bugs=None):
     from scrum.tasks import update_bug_chunks
     update_bug_chunks(bugs if bugs is not None else self.bugs.all())
예제 #3
0
파일: cron.py 프로젝트: Osmose/scrumbugz
def update_old_format_bugs():
    bugs = Bug.objects.filter(assigned_to__contains='||').only('id')
    update_bug_chunks(bugs)
예제 #4
0
파일: cron.py 프로젝트: protohub/scrumbugz
def update_old_format_bugs():
    bugs = Bug.objects.filter(assigned_to__contains='||').only('id')
    update_bug_chunks(bugs)
예제 #5
0
 def sync_bugs(self):
     """
     Refresh the data for all matched bugs from Bugzilla.
     """
     from scrum.tasks import update_bug_chunks
     update_bug_chunks(self.only('id'))
예제 #6
0
 def refresh_bugs_data(self, bugs=None):
     from scrum.tasks import update_bug_chunks
     update_bug_chunks(bugs if bugs is not None else self.bugs.all())