Skip to content

Commit dd99e45

Browse files
authored
Fix #1043: use customfield_10319 as default severity field (#1051)
1 parent eaa091f commit dd99e45

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

config/config.prod.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
description: Firefox Front End whiteboard tag
2020
parameters:
2121
jira_project_key: FIDEFE
22-
jira_severity_field: customfield_10319
2322
steps:
2423
new:
2524
- create_issue
@@ -619,7 +618,6 @@
619618
description: Firefox GenAI
620619
parameters:
621620
jira_project_key: GENAI
622-
jira_severity_field: customfield_10319
623621
steps:
624622
new:
625623
- create_issue

jbi/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class ActionParams(BaseModel, frozen=True):
7878
steps: ActionSteps = ActionSteps()
7979
jira_components: JiraComponents = JiraComponents()
8080
jira_cf_fx_points_field: str = "customfield_10037"
81-
jira_severity_field: str = "customfield_10716"
81+
jira_severity_field: str = "customfield_10319"
8282
jira_priority_field: str = "priority"
8383
jira_resolution_field: str = "resolution"
8484
labels_brackets: Literal["yes", "no", "both"] = "no"

tests/unit/test_steps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ def test_update_issue_severity(
914914

915915
mocked_jira.create_issue.assert_not_called()
916916
mocked_jira.update_issue_field.assert_called_with(
917-
key="JBI-234", fields={"customfield_10716": {"value": "Moderate"}}
917+
key="JBI-234", fields={"customfield_10319": {"value": "Moderate"}}
918918
)
919919

920920

0 commit comments

Comments
 (0)