summaryrefslogtreecommitdiff
path: root/lib/bitbucket
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2016-12-07 18:04:02 +0200
committerValery Sizov <valery@gitlab.com>2016-12-07 18:04:02 +0200
commit00cd864237d6c7ec57ecb49d304ca8dfa9e41d31 (patch)
tree2f1e369489f8bd9f1b2d4113b59e9761dd7cf6a8 /lib/bitbucket
parentbd3bd9bcea11244c56a0f7b63a6afa6fe439bf01 (diff)
downloadgitlab-ce-00cd864237d6c7ec57ecb49d304ca8dfa9e41d31.tar.gz
BitBucket importer: import issues with labels
Diffstat (limited to 'lib/bitbucket')
-rw-r--r--lib/bitbucket/representation/issue.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bitbucket/representation/issue.rb b/lib/bitbucket/representation/issue.rb
index dc034c19750..6c8e9a4c244 100644
--- a/lib/bitbucket/representation/issue.rb
+++ b/lib/bitbucket/representation/issue.rb
@@ -7,6 +7,10 @@ module Bitbucket
raw['id']
end
+ def kind
+ raw['kind']
+ end
+
def author
raw.dig('reporter', 'username') || 'Anonymous'
end