From 928b47324e8aa4842d7f1d9290147e8027a5a455 Mon Sep 17 00:00:00 2001 From: Gabe Villalobos Date: Tue, 8 Oct 2024 17:21:06 -0700 Subject: [PATCH] fix(jira): Fixes broken form error handling (#78818) --- src/sentry/integrations/jira/integration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sentry/integrations/jira/integration.py b/src/sentry/integrations/jira/integration.py index c75e3fa31c03b9..ad52667fa82798 100644 --- a/src/sentry/integrations/jira/integration.py +++ b/src/sentry/integrations/jira/integration.py @@ -504,7 +504,7 @@ def error_fields_from_json(self, data): if error_regex.match(message): error_data[key] = [message] - if error_data: + if errors: for key, error in data.get("errors").items(): error_data[key] = [error]