Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Fix JSON formatting when POST date type. #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sentry_jira/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ def clean(self):
schema = f["schema"]
if schema.get("type") == "string" and not schema.get("custom") == CUSTOM_FIELD_TYPES["select"]:
continue # noop
if schema.get("type") == "date":
continue
if schema["type"] == "user" or schema.get('item') == "user":
v = {"name": v}
elif schema.get("custom") == CUSTOM_FIELD_TYPES.get("multiuserpicker"):
Expand Down