diff options
author | Jarka Kadlecová <jarka@gitlab.com> | 2018-01-12 09:39:34 +0100 |
---|---|---|
committer | Jarka Kadlecová <jarka@gitlab.com> | 2018-01-17 07:35:23 +0100 |
commit | 7e9484e9fab052642bc57947ce4610c164da2b9d (patch) | |
tree | 1a16c46bff3f35383ba470d383e65ebc7e92db13 /app/services | |
parent | 2de8fb7bab49c1a5168ee56fc12e1f3ceb0ad1c7 (diff) | |
download | gitlab-ce-7e9484e9fab052642bc57947ce4610c164da2b9d.tar.gz |
Set target_branch to the ref branch when creating MR from issue41727-target-branch-name
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/merge_requests/create_from_issue_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/merge_requests/create_from_issue_service.rb b/app/services/merge_requests/create_from_issue_service.rb index 89dab1dd028..cf687b71d16 100644 --- a/app/services/merge_requests/create_from_issue_service.rb +++ b/app/services/merge_requests/create_from_issue_service.rb @@ -54,6 +54,7 @@ module MergeRequests source_project_id: project.id, source_branch: branch_name, target_project_id: project.id, + target_branch: ref, milestone_id: issue.milestone_id } end |