From 1c0e4179d90c5f80fab41c38dc1e4c684b005a48 Mon Sep 17 00:00:00 2001 From: Valery Sizov Date: Tue, 16 May 2017 13:29:20 +0300 Subject: [Multiple issue assignee] Support for both schemas to able to live migrate them --- lib/api/helpers.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/api/helpers.rb') diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index 226a7ddd50e..fb100f3f26c 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -83,7 +83,9 @@ module API end def find_project_issue(iid) - IssuesFinder.new(current_user, project_id: user_project.id).find_by!(iid: iid) + issue = IssuesFinder.new(current_user, project_id: user_project.id).find_by!(iid: iid) + issue.migrate_assignee + issue end def find_project_merge_request(iid) -- cgit v1.2.1