[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
|
creator = zammad_creator
|
||||||
|
|
||||||
zammad_ticket_template = {
|
zammad_ticket_template = {
|
||||||
"title": rt_ticket["ticket"]["Subject"],
|
"title": rt_ticket["ticket"]["Subject"] or 'RT: Empty Subject',
|
||||||
"group": "Users",
|
"group": "Users",
|
||||||
"customer": creator,
|
"customer": creator,
|
||||||
"note": "RT-import:{}".format(rt_ticket["ticket"]["original_id"]),
|
"note": "RT-import:{}".format(rt_ticket["ticket"]["original_id"]),
|
||||||
|
|
Loading…
Reference in a new issue