diff --git a/config/config.prod.yaml b/config/config.prod.yaml index dc5a41c4..fb637021 100644 --- a/config/config.prod.yaml +++ b/config/config.prod.yaml @@ -19,7 +19,6 @@ description: Firefox Front End whiteboard tag parameters: jira_project_key: FIDEFE - jira_severity_field: customfield_10319 steps: new: - create_issue @@ -619,7 +618,6 @@ description: Firefox GenAI parameters: jira_project_key: GENAI - jira_severity_field: customfield_10319 steps: new: - create_issue diff --git a/jbi/models.py b/jbi/models.py index 52070bb4..30ba0ca1 100644 --- a/jbi/models.py +++ b/jbi/models.py @@ -78,7 +78,7 @@ class ActionParams(BaseModel, frozen=True): steps: ActionSteps = ActionSteps() jira_components: JiraComponents = JiraComponents() jira_cf_fx_points_field: str = "customfield_10037" - jira_severity_field: str = "customfield_10716" + jira_severity_field: str = "customfield_10319" jira_priority_field: str = "priority" jira_resolution_field: str = "resolution" labels_brackets: Literal["yes", "no", "both"] = "no" diff --git a/tests/unit/test_steps.py b/tests/unit/test_steps.py index 4320f1c4..08141847 100644 --- a/tests/unit/test_steps.py +++ b/tests/unit/test_steps.py @@ -914,7 +914,7 @@ def test_update_issue_severity( mocked_jira.create_issue.assert_not_called() mocked_jira.update_issue_field.assert_called_with( - key="JBI-234", fields={"customfield_10716": {"value": "Moderate"}} + key="JBI-234", fields={"customfield_10319": {"value": "Moderate"}} )