Using promote_to_incident when creating issue will get issue_type and work_item_type out of sync
In !106366 (merged) we introduced the ability to use the promote_to_incident quickaction when creating an issue. The problem with the current implementation is that it syncs both the issue_type and work_item_type_id columns in the after_create block, so the changes are never persisted https://gitlab.com/gitlab-org/gitlab/-/blob/c4fec8bfd29cec45906992e5ed5dffa46e47582f/app/services/issues/create_service.rb#L79
We need to change the order in which the quickaction params are extracted when the issue is created (it works fine when updating issues https://gitlab.com/gitlab-org/gitlab/-/blob/4cbad001a9eacd3efb938e785d982148821c6df6/app/services/issuable_base_service.rb#L299).
We will also need to run a background migration to make sure the issue_type column is in sync with the work_item_type_id column