def get_bz_params(self, date): self.components = utils.get_config("workflow", "components") params = { "component": utils.get_components(self.components), "resolution": "---", "f1": "priority", "o1": "equals", "v1": "P2", } utils.get_empty_assignees(params) return params
def get_bz_params(self, date): self.components = utils.get_config('workflow', 'components') params = { 'component': utils.get_components(self.components), 'resolution': '---', 'f1': 'priority', 'o1': 'equals', 'v1': 'P2', } utils.get_empty_assignees(params) return params
def get_bz_params(self, date): date = lmdutils.get_date_ymd(date) start_date = date - relativedelta(months=self.nmonths) days = (date - start_date).days self.components = utils.get_config('workflow', 'components') params = { 'component': utils.get_components(self.components), 'bug_type': 'defect', 'resolution': '---', 'f1': 'priority', 'o1': 'anywordssubstr', 'v1': ','.join(['P3', 'P4', 'P5']), 'f2': 'days_elapsed', 'o2': 'greaterthaneq', 'v2': days, } return params
def get_bz_params(self, date): date = lmdutils.get_date_ymd(date) start_date = date - relativedelta(months=self.nmonths) days = (date - start_date).days self.components = utils.get_config("workflow", "components") params = { "component": utils.get_components(self.components), "bug_type": "defect", "resolution": "---", "f1": "priority", "o1": "anywordssubstr", "v1": ",".join(["P3", "P4", "P5"]), "f2": "days_elapsed", "o2": "greaterthaneq", "v2": days, } return params
def get_bz_params(self, date): date = lmdutils.get_date_ymd(date) start_date = date - relativedelta(months=self.nmonths) days = (date - start_date).days fields = ["triage_owner"] self.components = utils.get_config("workflow", "components") params = { "include_fields": fields, "bug_type": "defect", "component": utils.get_components(self.components), "resolution": "---", "f1": "priority", "o1": "equals", "v1": "P2", "f2": "days_elapsed", "o2": "greaterthaneq", "v2": days, } return params
def get_bz_params(self, date): date = lmdutils.get_date_ymd(date) start_date = date - relativedelta(months=self.nmonths) days = (date - start_date).days fields = ['triage_owner'] self.components = utils.get_config('workflow', 'components') params = { 'include_fields': fields, 'bug_type': 'defect', 'component': utils.get_components(self.components), 'resolution': '---', 'f1': 'priority', 'o1': 'equals', 'v1': 'P2', 'f2': 'days_elapsed', 'o2': 'greaterthaneq', 'v2': days, } return params
def get_bz_params(self, date): self.ndays = NoActivityDays(self.name()).get( (utils.get_next_release_date() - self.nag_date).days) fields = ["triage_owner", "assigned_to"] self.components = utils.get_config("workflow", "components") params = { "component": utils.get_components(self.components), "bug_type": "defect", "include_fields": fields, "resolution": "---", "f1": "priority", "o1": "equals", "v1": "P1", "f2": "days_elapsed", "o2": "greaterthaneq", "v2": self.ndays, } utils.get_empty_assignees(params) return params
def get_bz_params(self, date): self.ndays = NoActivityDays(self.name()).get( (utils.get_next_release_date() - self.nag_date).days ) fields = ['triage_owner', 'flags'] self.components = utils.get_config('workflow', 'components') params = { 'component': utils.get_components(self.components), 'bug_type': 'defect', 'include_fields': fields, 'resolution': '---', 'f1': 'priority', 'o1': 'equals', 'v1': 'P1', 'f2': 'days_elapsed', 'o2': 'greaterthaneq', 'v2': self.ndays, } utils.get_empty_assignees(params) return params
def get_bz_params(self, date): self.ndays = NoActivityDays(self.name()).get( (utils.get_next_release_date() - self.nag_date).days ) fields = ['triage_owner', 'assigned_to'] self.components = utils.get_config('workflow', 'components') params = { 'component': utils.get_components(self.components), 'bug_type': 'defect', 'include_fields': fields, 'resolution': '---', 'f1': 'priority', 'o1': 'equals', 'v1': 'P1', 'f2': 'days_elapsed', 'o2': 'greaterthaneq', 'v2': self.ndays, } utils.get_empty_assignees(params) return params