Skip to content

Commit

Permalink
Merge pull request #18084 from michael-redpanda/fix-bug-creation
Browse files Browse the repository at this point in the history
gh: Fix bug issue creation
  • Loading branch information
michael-redpanda authored Apr 26, 2024
2 parents 7abd021 + e0aaa14 commit fbd335c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/scripts/jira_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit fbd335c

Please sign in to comment.