Merge branch '41727-target-branch-name' into 'master'
Set target_branch to the ref branch when creating MR from issue
Closes #41727
See merge request gitlab-org/gitlab-ce!16422
(cherry picked from commit b4bc9bd5)
7e9484e9 Set target_branch to the ref branch when creating MR from issue