diff --git a/.github/workflows/scripts/jira_helper.py b/.github/workflows/scripts/jira_helper.py index fd2f06394b912..9c4636c57deec 100644 --- a/.github/workflows/scripts/jira_helper.py +++ b/.github/workflows/scripts/jira_helper.py @@ -197,8 +197,11 @@ def _create_issue(self): # GitHubs jira_issue_body = issue_body.replace("```", "{code}") + # When creating a bug, must use customfield_10083 as 'description' is not part of + # bug creation screen anymore fields = { - "description": f"{jira_issue_body}", + "description" if issue_type == 'Task' else "customfield_10083": + f"{jira_issue_body}", "summary": f"{issue_title}", "issuetype": { "name": f"{issue_type}"