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,
References: :references,
ContentType: :content_type,
Changed: :updated_at,
Created: :created_at,
ChangeTime: :updated_at,
CreateTime: :created_at,
ChangedBy: :updated_by_id,
CreatedBy: :created_by_id,
}.freeze

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -13,7 +13,7 @@
"Body": "test #3",
"DynamicField_ZammadMigratorChanged": null,
"EscalationTime": "0",
"Changed": "2014-11-21 00:21:08",
"ChangeTime": "2014-11-21 00:21:08",
"OwnerID": "3",
"DynamicField_ZarafaTN": null,
"DynamicField_ProcessManagementActivityID": null,
@ -23,7 +23,7 @@
"AgeTimeUnix": 63188309,
"TicketFreeKey11": null,
"ArticleID": "3970",
"Created": "2014-11-21 00:17:41",
"CreateTime": "2014-11-21 00:17:41",
"DynamicField_ScomUUID": null,
"DynamicField_TicketFreeText11": null,
"DynamicField_TicketFreeKey11": null,
@ -94,4 +94,4 @@
"SLAID": null,
"DynamicField_ITSMCriticality": null,
"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",
"DynamicField_ZammadMigratorChanged": null,
"EscalationTime": "0",
"Changed": "2014-06-24 09:32:14",
"ChangeTime": "2014-06-24 09:32:14",
"OwnerID": "1",
"DynamicField_ZarafaTN": null,
"DynamicField_ProcessManagementActivityID": null,
@ -26,7 +26,7 @@
"AgeTimeUnix": 82611378,
"TicketFreeKey11": null,
"ArticleID": "999",
"Created": "2010-08-02 14:00:00",
"CreateTime": "2010-08-02 14:00:00",
"DynamicField_ScomUUID": null,
"DynamicField_TicketFreeText11": null,
"DynamicField_TicketFreeKey11": null,
@ -101,4 +101,4 @@
"SLAID": null,
"DynamicField_ITSMCriticality": null,
"From": "OTRS Feedback <feedback@otrs.org>"
}
}