Skip to content

Commit

Permalink
fix: dojo.JIRA_Instance.default_issue_type: (fields.E005) 'choices'
Browse files Browse the repository at this point in the history
  • Loading branch information
kiblik committed Sep 4, 2024
1 parent 4ccb3c9 commit 6599ba7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dojo/settings/.settings.dist.py.sha256sum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
38096a82c7cdeec6ca9c663c1ec3d6a5692a0e7bbfdea8fd2f05c58f753430d4
af760faadbea6d10ed11aa3faa83c9766978cd400e0aaedb19064827843f6471
7 changes: 2 additions & 5 deletions dojo/settings/settings.dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -1532,11 +1532,8 @@ def saml2_attrib_map_format(dict):
)

if env("DD_JIRA_EXTRA_ISSUE_TYPES") != "":
if env("DD_JIRA_EXTRA_ISSUE_TYPES").count(",") > 0:
for extra_type in env("DD_JIRA_EXTRA_ISSUE_TYPES").split(","):
JIRA_ISSUE_TYPE_CHOICES_CONFIG += (extra_type, extra_type)
else:
JIRA_ISSUE_TYPE_CHOICES_CONFIG += (env("DD_JIRA_EXTRA_ISSUE_TYPES"), env("DD_JIRA_EXTRA_ISSUE_TYPES"))
for extra_type in env("DD_JIRA_EXTRA_ISSUE_TYPES").split(","):
JIRA_ISSUE_TYPE_CHOICES_CONFIG += ((extra_type, extra_type),)

JIRA_SSL_VERIFY = env("DD_JIRA_SSL_VERIFY")

Expand Down

0 comments on commit 6599ba7

Please sign in to comment.