Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
Browse files Browse the repository at this point in the history
  • Loading branch information
dzaporozhets committed Sep 8, 2016
2 parents 43d6328 + 19f5304 commit 535ce11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ v 8.11.5 (unreleased)
- Fix suggested colors options for new labels in the admin area. !6138
- Fix GitLab import button
- Remove gitorious from import_sources
- Fix confidential issues being exposed as public using gitlab.com export

v 8.11.4
- Fix resolving conflicts on forks. !6082
Expand Down
3 changes: 2 additions & 1 deletion lib/gitlab/gitlab_import/importer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def execute
title: issue["title"],
state: issue["state"],
updated_at: issue["updated_at"],
author_id: gl_user_id(project, issue["author"]["id"])
author_id: gl_user_id(project, issue["author"]["id"]),
confidential: issue["confidential"]
)
end
end
Expand Down
2 changes: 2 additions & 0 deletions spec/lib/gitlab/gitlab_import/importer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
'title' => 'Issue',
'description' => 'Lorem ipsum',
'state' => 'opened',
'confidential' => true,
'author' => {
'id' => 283999,
'name' => 'John Doe'
Expand All @@ -34,6 +35,7 @@
title: 'Issue',
description: "*Created by: John Doe*\n\nLorem ipsum",
state: 'opened',
confidential: true,
author_id: project.creator_id
}

Expand Down

0 comments on commit 535ce11

Please sign in to comment.