Applied Zammad default behaviour if no title is given.

This commit is contained in:
Thorsten Eckel 2017-08-21 15:24:09 +02:00
parent 97431be8d6
commit ab33cd491d

View file

@ -39,7 +39,7 @@ module Import
{ {
id: ticket.id, 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, owner_id: Import::Zendesk::UserFactory.local_id( ticket.assignee ) || 1,
note: ticket.description, note: ticket.description,
group_id: Import::Zendesk::GroupFactory.local_id( ticket.group_id ) || 1, group_id: Import::Zendesk::GroupFactory.local_id( ticket.group_id ) || 1,