Fixed issue #1153 - Using Zendesk basic priority feature breakes import.

This commit is contained in:
Thorsten Eckel 2017-06-02 11:30:53 +02:00
parent 017022eae9
commit 6a98b5a41d

View file

@ -5,13 +5,14 @@ module Import
extend Import::Zendesk::LocalIDMapperHook extend Import::Zendesk::LocalIDMapperHook
MAPPING = { MAPPING = {
'subject' => 'title', 'subject' => 'title',
'description' => 'note', 'description' => 'note',
'status' => 'state_id', 'status' => 'state_id',
'tickettype' => 'type', 'tickettype' => 'type',
'priority' => 'priority_id', 'priority' => 'priority_id',
'group' => 'group_id', 'basic_priority' => 'priority_id',
'assignee' => 'owner_id', 'group' => 'group_id',
'assignee' => 'owner_id',
}.freeze }.freeze
# rubocop:disable Style/ModuleFunction # rubocop:disable Style/ModuleFunction