in bugbot/rules/uplift_beta.py [0:0]
def get_bz_params(self, date):
self.date = lmdutils.get_date_ymd(date)
fields = [
self.status_beta,
"regressions",
"attachments.creation_time",
"attachments.is_obsolete",
"attachments.content_type",
"cf_last_resolved",
"assigned_to",
"flags",
]
params = {
"include_fields": fields,
"bug_type": "defect",
"resolution": ["---", "FIXED"],
"f1": self.status_central,
"o1": "anyexact",
"v1": ",".join(["fixed", "verified"]),
"f2": self.status_beta,
"o2": "anyexact",
"v2": ["affected", "fix-optional"],
"f3": "flagtypes.name",
"o3": "notsubstring",
"v3": "approval-mozilla-beta",
# Don't nag several times
"n5": 1,
"f5": "longdesc",
"o5": "casesubstring",
# this a part of the comment we've in templates/uplift_beta_needinfo.txt
"v5": ", is this bug important enough to require an uplift?",
# Check if have at least one attachment which is a Phabricator request
"f6": "attachments.mimetype",
"o6": "anyexact",
"v6": ["text/x-phabricator-request", "text/x-github-pull-request"],
# skip if whiteboard contains checkin-needed-beta (e.g. test-only uplift)
"f7": "status_whiteboard",
"o7": "notsubstring",
"v7": "[checkin-needed-beta]",
}
return params