From a14ee9bef9050e9d4c4de63eec80e9ff33c7e039 Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre Date: Mon, 11 Jul 2016 17:31:45 -0300 Subject: [PATCH] Keeps issue number when importing from Gitlab.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With these changes we don’t lost the issue references when importing from `GitLab.com`. --- lib/gitlab/gitlab_import/importer.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/gitlab/gitlab_import/importer.rb b/lib/gitlab/gitlab_import/importer.rb index 3f76ec97977..e6d31ea04c0 100644 --- a/lib/gitlab/gitlab_import/importer.rb +++ b/lib/gitlab/gitlab_import/importer.rb @@ -35,6 +35,7 @@ module Gitlab end project.issues.create!( + iid: issue["iid"], description: body, title: issue["title"], state: issue["state"],