diff options
author | Jan Provaznik <jprovaznik@gitlab.com> | 2018-02-14 14:08:30 +0100 |
---|---|---|
committer | Jan Provaznik <jprovaznik@gitlab.com> | 2018-02-18 20:27:18 +0100 |
commit | 790ab5909b37a1eb64d7a86c21c6096441512290 (patch) | |
tree | 6e2e6b4c4c04587408733a0ee19ae99ca37792b4 /app | |
parent | 557db7e635c70bf68a15f7029014301013b30070 (diff) | |
download | gitlab-ce-790ab5909b37a1eb64d7a86c21c6096441512290.tar.gz |
Remember assignee when moving an issue41949-move
Related to #41949
Diffstat (limited to 'app')
-rw-r--r-- | app/services/issues/move_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/issues/move_service.rb b/app/services/issues/move_service.rb index 299b9c6215f..7140890d201 100644 --- a/app/services/issues/move_service.rb +++ b/app/services/issues/move_service.rb @@ -48,7 +48,8 @@ module Issues new_params = { id: nil, iid: nil, label_ids: cloneable_label_ids, milestone_id: cloneable_milestone_id, project: @new_project, author: @old_issue.author, - description: rewrite_content(@old_issue.description) } + description: rewrite_content(@old_issue.description), + assignee_ids: @old_issue.assignee_ids } new_params = @old_issue.serializable_hash.symbolize_keys.merge(new_params) CreateService.new(@new_project, @current_user, new_params).execute |