From 29431f72df1a3318314bcc4cef9c06854597038f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Wed, 8 May 2024 17:49:36 +0200 Subject: [PATCH] [fs2zammad] handle tickets with empty subject --- fs2zammad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs2zammad b/fs2zammad index a7d1639..f2e8571 100755 --- a/fs2zammad +++ b/fs2zammad @@ -133,7 +133,7 @@ def create_zammad_ticket(id, zammad, h2t, retries=3): creator = zammad_creator zammad_ticket_template = { - "title": rt_ticket["ticket"]["Subject"], + "title": rt_ticket["ticket"]["Subject"] or 'RT: Empty Subject', "group": "Users", "customer": creator, "note": "RT-import:{}".format(rt_ticket["ticket"]["original_id"]),