Creation of issue in past has wrong resource label event dates
Summary
When creating an issue in gitlab through the API with created_at dates in the past (Importing from Jira) label events and due dates show as being changed at the current time of the issue being created. The labels and the due dates are correct, only the resource label events are wrong.
Steps to reproduce
Create an issue through the API with a created_at date in the past that includes labels or due_dates.
Example Project
(If possible, please create an example project here on GitLab.com that exhibits the problematic behaviour, and link to it here in the bug report)
(If you are using an older version of GitLab, this will also determine whether the bug has been fixed in a more recent version)
What is the current bug behavior?
The resource label events that are created for the labels and due dates are using the current time when an issue is created with a created_at date.
What is the expected correct behavior?
I believe that when an issue is create with a created_at date then all resource label events associated with the creation of the issue should have the same created_at date.
Results of GitLab environment info
Expand for output related to GitLab environment info
GitLab information (Docker) Version: 11.7.5-ee Revision: ed04633 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.11