forked from fnux/rt2zammad
[fs2zammad] handle tickets with empty subject
This commit is contained in:
parent
b1fbe9d4ab
commit
29431f72df
1 changed files with 1 additions and 1 deletions
|
@ -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"]),
|
||||
|
|
Loading…
Reference in a new issue