From ab33cd491dd42b24910a8b81409d7db70f2e6283 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Mon, 21 Aug 2017 15:24:09 +0200 Subject: [PATCH] Applied Zammad default behaviour if no title is given. --- lib/import/zendesk/ticket.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/import/zendesk/ticket.rb b/lib/import/zendesk/ticket.rb index af6e3d104..615e32ffe 100644 --- a/lib/import/zendesk/ticket.rb +++ b/lib/import/zendesk/ticket.rb @@ -39,7 +39,7 @@ module Import { id: ticket.id, - title: ticket.subject || ticket.description || "No title", + title: ticket.subject || ticket.description || '-', owner_id: Import::Zendesk::UserFactory.local_id( ticket.assignee ) || 1, note: ticket.description, group_id: Import::Zendesk::GroupFactory.local_id( ticket.group_id ) || 1,