Skip to content

Commit bddcfc7

Browse files
leplatremdavehunt
authored andcommitted
Fix mozilla#1043: use customfield_10319 as default severity field (mozilla#1051)
1 parent f3b7c3e commit bddcfc7

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
@@ -618,7 +617,6 @@
618617
description: Firefox GenAI
619618
parameters:
620619
jira_project_key: GENAI
621-
jira_severity_field: customfield_10319
622620
steps:
623621
new:
624622
- 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)