def get_bz_params()

in bugbot/rules/tracked_attention.py [0:0]


    def get_bz_params(self, date):
        fields = [
            "regressed_by",
            "product",
            "component",
            "triage_owner",
            "assigned_to",
            "comments",
            "severity",
            "priority",
        ]
        for flag in self.version_flags:
            fields.extend((flag["tracking_field"], flag["status_field"]))

        params = {
            "include_fields": fields,
            "resolution": "---",
            "f1": "keywords",
            "o1": "nowords",
            "v1": "intermittent-failure",
            "f2": "status_whiteboard",
            "o2": "notsubstring",
            "v2": "[stockwell]",
            "f3": "short_desc",
            "o3": "notregexp",
            "v3": r"^Perma |Intermittent ",
            "j4": "OR",
            "f4": "OP",
            "f5": "bug_severity",
            "o5": "anyexact",
            "v5": list(LOW_SEVERITY),
            "f6": "priority",
            "o6": "anyexact",
            "v6": list(LOW_PRIORITY),
        }
        utils.get_empty_assignees(params)
        n = utils.get_last_field_num(params)
        params[f"f{n}"] = "CP"

        self._amend_tracking_params(params)

        return params