From fa75995d0c508112fffda495ae0f99044bc7587c Mon Sep 17 00:00:00 2001 From: Prasanth Kommini Date: Thu, 15 Dec 2022 17:23:04 +0530 Subject: [PATCH] Fix jira issue description rendering. --- handler_functions_sql/jira_handler_v2.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/handler_functions_sql/jira_handler_v2.sql b/handler_functions_sql/jira_handler_v2.sql index 309ba16..e204898 100644 --- a/handler_functions_sql/jira_handler_v2.sql +++ b/handler_functions_sql/jira_handler_v2.sql @@ -36,7 +36,10 @@ ${jira_api_function}( ) ), 4 - ) || '{code}\r\n\r\n' || '*EVENT DATA*:\r\n{code}' || alert['EVENT_DATA']::STRING || '{code}' + ) || '{code}\r\n\r\n' + || '*EVENT DATA*:\r\n{code}' + || ${json_beautify_function}(alert['EVENT_DATA']::STRING, 4) + || '{code}\r\n' ) ) ),