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'))
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())
def update_old_format_bugs(): bugs = Bug.objects.filter(assigned_to__contains='||').only('id') update_bug_chunks(bugs)