Skip to content

Commit 2f6a78a

Browse files
committed
Remove default parameters values for severity and priority
1 parent 32cb2fa commit 2f6a78a

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

jbi/models.py

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -78,23 +78,9 @@ class ActionParams(BaseModel, frozen=True):
7878
jira_resolution_field: str = "resolution"
7979
labels_brackets: Literal["yes", "no", "both"] = "no"
8080
status_map: dict[str, str] = {}
81-
priority_map: dict[str, str] = {
82-
"P1": "1",
83-
"P2": "2",
84-
"P3": "3",
85-
"P4": "4",
86-
"P5": "5",
87-
"--": "10000",
88-
}
81+
priority_map: dict[str, str] = {}
8982
resolution_map: dict[str, str] = {}
90-
severity_map: dict[str, str] = {
91-
"S1": "1",
92-
"S2": "2",
93-
"S3": "3",
94-
"S4": "4",
95-
"N/A": "--",
96-
"--": "--",
97-
}
83+
severity_map: dict[str, str] = {}
9884
issue_type_map: dict[str, str] = {"task": "Task", "defect": "Bug"}
9985

10086

0 commit comments

Comments
 (0)