diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-07-11 17:31:45 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-07-13 11:35:38 -0300 |
commit | a14ee9bef9050e9d4c4de63eec80e9ff33c7e039 (patch) | |
tree | ff57ee481e803c99abaadb95fd621927bcffa8c8 /lib | |
parent | 4be505bfd177755103d74ca4874086853a32449a (diff) | |
download | gitlab-ce-a14ee9bef9050e9d4c4de63eec80e9ff33c7e039.tar.gz |
Keeps issue number when importing from Gitlab.com
With these changes we don’t lost the issue references when importing
from `GitLab.com`.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/gitlab_import/importer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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"], |