Skip to content

Commit

Permalink
gh: Fix bug issue creation
Browse files Browse the repository at this point in the history
Bug issue creation has been modified in Jira to use a custom
field for bug issues.  Updating the creation issue script
to use this new custom field.

Signed-off-by: Michael Boquard <michael@redpanda.com>
  • Loading branch information
michael-redpanda committed Apr 25, 2024
1 parent 7abd021 commit e0aaa14
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 e0aaa14

Please sign in to comment.