Can't transfer project to another group
We are trying to transfer a few projects to a new group and getting a 422
error code as a response. The production log looks like
Started PUT "/user/s3-thumbnail-generator/transfer" for 64.129.231.6 at 2016-06-02 15:55:59 +0000
Processing by ProjectsController#transfer as JS
Parameters: {"utf8"=>"✓", "new_namespace_id"=>"7", "namespace_id"=>"user", "id"=>"s3-thumbnail-generator"}
Completed 422 Unprocessable Entity in 73ms (ActiveRecord: 6.4ms)
ActiveRecord::RecordInvalid (Validation failed: Visibility level internal is not allowed in a private group.):
app/services/projects/transfer_service.rb:39:in `block in transfer'
app/services/projects/transfer_service.rb:28:in `transfer'
app/services/projects/transfer_service.rb:16:in `execute'
app/controllers/projects_controller.rb:64:in `transfer'
lib/gitlab/middleware/go.rb:16:in `call'
lib/gitlab/middleware/readonly_geo.rb:29:in `call'