API: Allow admin/owner to set timestamp when changing issue state
Zendesk issue: https://gitlab.zendesk.com/agent/tickets/26660
The API currently allows admins and project owners to set an issue's timestamp on creation. This aids in migrating from other systems to GitLab. However, when the issue is then transitioned to 'closed' there is no way to send a timestamp to affect when that issue appears 'closed'. The system note will show the current time. For some users this is important and gives them an accurate representation of when the issue was actually fixed or closed.
Can we add a parameter that will allow setting the timestamp on actions such as closing an issue, adding/removing labels, milestones, etc? Comments are handled because you can set a created_at
timestamp on creation.