diff --git a/fs2zammad b/fs2zammad index ee83d8e..baf921a 100755 --- a/fs2zammad +++ b/fs2zammad @@ -252,7 +252,8 @@ for id in ticket_ids: zammad_ticket = zammad.ticket.update(zammad_ticket["id"], {"customer_id": entry_creator_id}) restore_creator_to = zammad_ticket["customer_id"] - print(f"-> Adding a new entry/comment to ticket {zammad_ticket["id"]} ({zammad_entry_creator})...") + zammad_ticket_id = zammad_ticket["id"] + print(f"-> Adding a new entry/comment to ticket {zammad_ticket_id} ({zammad_entry_creator})...") TicketArticle(get_zammad_session(zammad_entry_creator)).create(zammad_entry_template) if restore_creator_to != None: