Create Issue API : cannot set the reporter.
Description
In a migration context from another issue tracking system, using the API is missing an option to migrate the creation date and reporter user.
If we use the API with an admin user, we can set the created_at but not author
If we execute the api call with a sudo to impersonate the context of a user, created_at is overwritten by the current datetime.
Proposal
in lib/api/issues.rb line 156 in the implementation of post ':id/issues'
allow posting author the same way that created_at is :
keys << :created_at if current_user.admin? || user_project.owner == current_user
~"feature proposal"