Importing from GitHub fails
The repo I was importing is a private organization project, which contains several issues and pull requests.
The repo was partially imported with almost all commits(except for the main page, shows it has 0 commit) and all the issues. But no pull requests are imported
Here's the log I found
2016-02-26T06:51:02.381Z 518 TID-92ef0 WARN: {"class"=>"RepositoryImportWorker", "args"=>[11], "retry"=>true, "queue"=>"gitlab_shell", "jid"=>"a85f7b5c1c1c099ac78de21b", "created_at"=>1456469454.5273209, "enqueued_at"=>1456469454.527409, "error_message"=>"undefined method `id' for nil:NilClass", "error_class"=>"NoMethodError", "failed_at"=>1456469462.3805454, "retry_count"=>0}
2016-02-26T06:51:02.381Z 518 TID-92ef0 WARN: NoMethodError: undefined method `id' for nil:NilClass
2016-02-26T06:51:02.381Z 518 TID-92ef0 WARN: /home/git/gitlab/lib/gitlab/github_import/pull_request_formatter.rb:21:in `cross_project?'
/home/git/gitlab/lib/gitlab/github_import/importer.rb:48:in `block in import_pull_requests'
/home/git/gitlab/lib/gitlab/github_import/importer.rb:45:in `each'
/home/git/gitlab/lib/gitlab/github_import/importer.rb:45:in `import_pull_requests'
/home/git/gitlab/lib/gitlab/github_import/importer.rb:17:in `execute'
/home/git/gitlab/app/workers/repository_import_worker.rb:30:in `perform'