Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/github_import/issuable_finder.rb')
-rw-r--r--lib/gitlab/github_import/issuable_finder.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/github_import/issuable_finder.rb b/lib/gitlab/github_import/issuable_finder.rb
index da205ebd345..e7a1b7b3368 100644
--- a/lib/gitlab/github_import/issuable_finder.rb
+++ b/lib/gitlab/github_import/issuable_finder.rb
@@ -69,6 +69,8 @@ module Gitlab
object.noteable_id
elsif object.respond_to?(:iid)
object.iid
+ elsif object.respond_to?(:issuable_id)
+ object.issuable_id
else
raise(
TypeError,