Fixes #3235 - OTRS migration doesn't import article creation time.

This commit is contained in:
Dominik Klein 2021-09-14 21:36:57 +02:00
parent cc29107ef7
commit 83eb5fc0b1
9 changed files with 26 additions and 26 deletions

View file

@ -19,8 +19,8 @@ module Import
# ReplyTo: :reply_to, # ReplyTo: :reply_to,
References: :references, References: :references,
ContentType: :content_type, ContentType: :content_type,
Changed: :updated_at, ChangeTime: :updated_at,
Created: :created_at, CreateTime: :created_at,
ChangedBy: :updated_by_id, ChangedBy: :updated_by_id,
CreatedBy: :created_by_id, CreatedBy: :created_by_id,
}.freeze }.freeze

View file

@ -13,7 +13,7 @@
"Body": "test #3", "Body": "test #3",
"DynamicField_ZammadMigratorChanged": null, "DynamicField_ZammadMigratorChanged": null,
"EscalationTime": "0", "EscalationTime": "0",
"Changed": "2014-11-21 00:21:08", "ChangeTime": "2014-11-21 00:21:08",
"OwnerID": "3", "OwnerID": "3",
"DynamicField_ZarafaTN": null, "DynamicField_ZarafaTN": null,
"DynamicField_ProcessManagementActivityID": null, "DynamicField_ProcessManagementActivityID": null,
@ -23,7 +23,7 @@
"AgeTimeUnix": 63188309, "AgeTimeUnix": 63188309,
"TicketFreeKey11": null, "TicketFreeKey11": null,
"ArticleID": "3970", "ArticleID": "3970",
"Created": "2014-11-21 00:17:41", "CreateTime": "2014-11-21 00:17:41",
"DynamicField_ScomUUID": null, "DynamicField_ScomUUID": null,
"DynamicField_TicketFreeText11": null, "DynamicField_TicketFreeText11": null,
"DynamicField_TicketFreeKey11": null, "DynamicField_TicketFreeKey11": null,
@ -105,4 +105,4 @@
"SLAID": null, "SLAID": null,
"DynamicField_ITSMCriticality": null, "DynamicField_ITSMCriticality": null,
"From": "\"Betreuter Kunde\" <kunde2@kunde.de>," "From": "\"Betreuter Kunde\" <kunde2@kunde.de>,"
} }

View file

@ -13,7 +13,7 @@
"Body": "test #3", "Body": "test #3",
"DynamicField_ZammadMigratorChanged": null, "DynamicField_ZammadMigratorChanged": null,
"EscalationTime": "0", "EscalationTime": "0",
"Changed": "2014-11-21 00:21:08", "ChangeTime": "2014-11-21 00:21:08",
"OwnerID": "3", "OwnerID": "3",
"DynamicField_ZarafaTN": null, "DynamicField_ZarafaTN": null,
"DynamicField_ProcessManagementActivityID": null, "DynamicField_ProcessManagementActivityID": null,
@ -23,7 +23,7 @@
"AgeTimeUnix": 63188309, "AgeTimeUnix": 63188309,
"TicketFreeKey11": null, "TicketFreeKey11": null,
"ArticleID": "3970", "ArticleID": "3970",
"Created": "2014-11-21 00:17:41", "CreateTime": "2014-11-21 00:17:41",
"DynamicField_ScomUUID": null, "DynamicField_ScomUUID": null,
"DynamicField_TicketFreeText11": null, "DynamicField_TicketFreeText11": null,
"DynamicField_TicketFreeKey11": null, "DynamicField_TicketFreeKey11": null,
@ -94,4 +94,4 @@
"SLAID": null, "SLAID": null,
"DynamicField_ITSMCriticality": null, "DynamicField_ITSMCriticality": null,
"From": "\"Betreuter Kunde\" <kunde2@kunde.de>," "From": "\"Betreuter Kunde\" <kunde2@kunde.de>,"
} }

View file

@ -13,7 +13,7 @@
"Body": "test #3", "Body": "test #3",
"DynamicField_ZammadMigratorChanged": null, "DynamicField_ZammadMigratorChanged": null,
"EscalationTime": "0", "EscalationTime": "0",
"Changed": "2014-11-21 00:21:08", "ChangeTime": "2014-11-21 00:21:08",
"OwnerID": "3", "OwnerID": "3",
"DynamicField_ZarafaTN": null, "DynamicField_ZarafaTN": null,
"DynamicField_ProcessManagementActivityID": null, "DynamicField_ProcessManagementActivityID": null,
@ -23,7 +23,7 @@
"AgeTimeUnix": 63188309, "AgeTimeUnix": 63188309,
"TicketFreeKey11": null, "TicketFreeKey11": null,
"ArticleID": "3970", "ArticleID": "3970",
"Created": "2014-11-21 00:17:41", "CreateTime": "2014-11-21 00:17:41",
"DynamicField_ScomUUID": null, "DynamicField_ScomUUID": null,
"DynamicField_TicketFreeText11": null, "DynamicField_TicketFreeText11": null,
"DynamicField_TicketFreeKey11": null, "DynamicField_TicketFreeKey11": null,
@ -105,4 +105,4 @@
"SLAID": null, "SLAID": null,
"DynamicField_ITSMCriticality": null, "DynamicField_ITSMCriticality": null,
"From": "\"Betreuter Kunde\" <kunde2@kunde.de>," "From": "\"Betreuter Kunde\" <kunde2@kunde.de>,"
} }

View file

@ -13,7 +13,7 @@
"Body": null, "Body": null,
"DynamicField_ZammadMigratorChanged": null, "DynamicField_ZammadMigratorChanged": null,
"EscalationTime": "0", "EscalationTime": "0",
"Changed": "2014-11-21 00:21:08", "ChangeTime": "2014-11-21 00:21:08",
"OwnerID": "3", "OwnerID": "3",
"DynamicField_ZarafaTN": null, "DynamicField_ZarafaTN": null,
"DynamicField_ProcessManagementActivityID": null, "DynamicField_ProcessManagementActivityID": null,
@ -23,7 +23,7 @@
"AgeTimeUnix": 63188309, "AgeTimeUnix": 63188309,
"TicketFreeKey11": null, "TicketFreeKey11": null,
"ArticleID": "3970", "ArticleID": "3970",
"Created": "2014-11-21 00:17:41", "CreateTime": "2014-11-21 00:17:41",
"DynamicField_ScomUUID": null, "DynamicField_ScomUUID": null,
"DynamicField_TicketFreeText11": null, "DynamicField_TicketFreeText11": null,
"DynamicField_TicketFreeKey11": null, "DynamicField_TicketFreeKey11": null,
@ -94,4 +94,4 @@
"SLAID": null, "SLAID": null,
"DynamicField_ITSMCriticality": null, "DynamicField_ITSMCriticality": null,
"From": "\"Betreuter Kunde\" <kunde2@kunde.de>," "From": "\"Betreuter Kunde\" <kunde2@kunde.de>,"
} }

View file

@ -13,7 +13,7 @@
"Body": "test #3", "Body": "test #3",
"DynamicField_ZammadMigratorChanged": null, "DynamicField_ZammadMigratorChanged": null,
"EscalationTime": "0", "EscalationTime": "0",
"Changed": "2014-11-21 00:21:08", "ChangeTime": "2014-11-21 00:21:08",
"OwnerID": "3", "OwnerID": "3",
"DynamicField_ZarafaTN": null, "DynamicField_ZarafaTN": null,
"DynamicField_ProcessManagementActivityID": null, "DynamicField_ProcessManagementActivityID": null,
@ -23,7 +23,7 @@
"AgeTimeUnix": 63188309, "AgeTimeUnix": 63188309,
"TicketFreeKey11": null, "TicketFreeKey11": null,
"ArticleID": "3970", "ArticleID": "3970",
"Created": "2014-11-21 00:17:41", "CreateTime": "2014-11-21 00:17:41",
"DynamicField_ScomUUID": null, "DynamicField_ScomUUID": null,
"DynamicField_TicketFreeText11": null, "DynamicField_TicketFreeText11": null,
"DynamicField_TicketFreeKey11": null, "DynamicField_TicketFreeKey11": null,
@ -94,4 +94,4 @@
"SLAID": null, "SLAID": null,
"DynamicField_ITSMCriticality": null, "DynamicField_ITSMCriticality": null,
"From": "User Hernández <user.hernandez@example.com>" "From": "User Hernández <user.hernandez@example.com>"
} }

View file

@ -13,7 +13,7 @@
"Body": "test #3", "Body": "test #3",
"DynamicField_ZammadMigratorChanged": null, "DynamicField_ZammadMigratorChanged": null,
"EscalationTime": "0", "EscalationTime": "0",
"Changed": "2014-11-21 00:21:08", "ChangeTime": "2014-11-21 00:21:08",
"OwnerID": "3", "OwnerID": "3",
"DynamicField_ZarafaTN": null, "DynamicField_ZarafaTN": null,
"DynamicField_ProcessManagementActivityID": null, "DynamicField_ProcessManagementActivityID": null,
@ -23,7 +23,7 @@
"AgeTimeUnix": 63188309, "AgeTimeUnix": 63188309,
"TicketFreeKey11": null, "TicketFreeKey11": null,
"ArticleID": "3970", "ArticleID": "3970",
"Created": "2014-11-21 00:17:41", "CreateTime": "2014-11-21 00:17:41",
"DynamicField_ScomUUID": null, "DynamicField_ScomUUID": null,
"DynamicField_TicketFreeText11": null, "DynamicField_TicketFreeText11": null,
"DynamicField_TicketFreeKey11": null, "DynamicField_TicketFreeKey11": null,
@ -94,4 +94,4 @@
"SLAID": null, "SLAID": null,
"DynamicField_ITSMCriticality": null, "DynamicField_ITSMCriticality": null,
"From": "(Firstname Lastname) user@example.com" "From": "(Firstname Lastname) user@example.com"
} }

View file

@ -13,7 +13,7 @@
"Body": "test #3", "Body": "test #3",
"DynamicField_ZammadMigratorChanged": null, "DynamicField_ZammadMigratorChanged": null,
"EscalationTime": "0", "EscalationTime": "0",
"Changed": "2014-11-21 00:21:08", "ChangeTime": "2014-11-21 00:21:08",
"OwnerID": "3", "OwnerID": "3",
"DynamicField_ZarafaTN": null, "DynamicField_ZarafaTN": null,
"DynamicField_ProcessManagementActivityID": null, "DynamicField_ProcessManagementActivityID": null,
@ -23,7 +23,7 @@
"AgeTimeUnix": 63188309, "AgeTimeUnix": 63188309,
"TicketFreeKey11": null, "TicketFreeKey11": null,
"ArticleID": "3970", "ArticleID": "3970",
"Created": "2014-11-21 00:17:41", "CreateTime": "2014-11-21 00:17:41",
"DynamicField_ScomUUID": null, "DynamicField_ScomUUID": null,
"DynamicField_TicketFreeText11": null, "DynamicField_TicketFreeText11": null,
"DynamicField_TicketFreeKey11": null, "DynamicField_TicketFreeKey11": null,
@ -94,4 +94,4 @@
"SLAID": null, "SLAID": null,
"DynamicField_ITSMCriticality": null, "DynamicField_ITSMCriticality": null,
"From": "User@example.com" "From": "User@example.com"
} }

View file

@ -16,7 +16,7 @@
"Body": "Welcome!\n\nThank you for installing OTRS.\n\nYou will find updates and patches at http://www.otrs.com/open-source/.\nOnline documentation is available at http://doc.otrs.org/.\nYou can also use our mailing lists http://lists.otrs.org/\nor our forums at http://forums.otrs.org/\n\nRegards,\n\nThe OTRS Project\n", "Body": "Welcome!\n\nThank you for installing OTRS.\n\nYou will find updates and patches at http://www.otrs.com/open-source/.\nOnline documentation is available at http://doc.otrs.org/.\nYou can also use our mailing lists http://lists.otrs.org/\nor our forums at http://forums.otrs.org/\n\nRegards,\n\nThe OTRS Project\n",
"DynamicField_ZammadMigratorChanged": null, "DynamicField_ZammadMigratorChanged": null,
"EscalationTime": "0", "EscalationTime": "0",
"Changed": "2014-06-24 09:32:14", "ChangeTime": "2014-06-24 09:32:14",
"OwnerID": "1", "OwnerID": "1",
"DynamicField_ZarafaTN": null, "DynamicField_ZarafaTN": null,
"DynamicField_ProcessManagementActivityID": null, "DynamicField_ProcessManagementActivityID": null,
@ -26,7 +26,7 @@
"AgeTimeUnix": 82611378, "AgeTimeUnix": 82611378,
"TicketFreeKey11": null, "TicketFreeKey11": null,
"ArticleID": "999", "ArticleID": "999",
"Created": "2010-08-02 14:00:00", "CreateTime": "2010-08-02 14:00:00",
"DynamicField_ScomUUID": null, "DynamicField_ScomUUID": null,
"DynamicField_TicketFreeText11": null, "DynamicField_TicketFreeText11": null,
"DynamicField_TicketFreeKey11": null, "DynamicField_TicketFreeKey11": null,
@ -101,4 +101,4 @@
"SLAID": null, "SLAID": null,
"DynamicField_ITSMCriticality": null, "DynamicField_ITSMCriticality": null,
"From": "OTRS Feedback <feedback@otrs.org>" "From": "OTRS Feedback <feedback@otrs.org>"
} }