in bugbot/rules/workflow/no_severity_nag.py [0:0]
def get_bz_params(self, date):
fields = [
"triage_owner",
"flags",
"comments.creator",
"comments.creation_time",
]
lookup = f"-{self.lookup * 7}d"
params = {
"include_fields": fields,
"keywords": "intermittent-failure",
"keywords_type": "nowords",
"email2": "wptsync@mozilla.bugs",
"emailreporter2": "1",
"emailtype2": "notequals",
"resolution": "---",
"f31": "bug_type",
"o31": "equals",
"v31": "defect",
"f32": "flagtypes.name",
"o32": "notsubstring",
"v32": "needinfo?",
"f33": "bug_severity",
"o33": "anyexact",
"v33": "--, n/a",
"j2": "OR",
"f2": "OP",
"j3": "AND",
"f3": "OP",
"f4": "product",
"o4": "changedbefore",
"v4": lookup,
"n5": 1,
"f5": "product",
"o5": "changedafter",
"v5": lookup,
"n6": 1,
"f6": "component",
"o6": "changedafter",
"v6": lookup,
"f7": "CP",
"j8": "AND",
"f8": "OP",
"f9": "component",
"o9": "changedbefore",
"v9": lookup,
"n10": 1,
"f10": "product",
"o10": "changedafter",
"v10": lookup,
"n11": 1,
"f11": "component",
"o11": "changedafter",
"v11": lookup,
"f12": "CP",
"j13": "AND",
"f13": "OP",
"f14": "creation_ts",
"o14": "lessthaneq",
"v14": lookup,
"n15": 1,
"f15": "product",
"o15": "everchanged",
"n16": 1,
"f16": "component",
"o16": "everchanged",
"f17": "CP",
"f18": "CP",
"n20": 1,
"j20": "OR",
"f20": "OP",
"f21": "bug_severity",
"o21": "changedfrom",
"v21": "critical",
"f22": "bug_severity",
"o22": "changedfrom",
"v22": "major",
"f23": "bug_severity",
"o23": "changedfrom",
"v23": "blocker",
"f30": "CP",
}
self.date = lmdutils.get_date_ymd(date)
return params