summaryrefslogtreecommitdiff
path: root/lib/bitbucket
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2016-12-16 12:12:53 +0200
committerValery Sizov <valery@gitlab.com>2016-12-16 12:12:53 +0200
commite0ef9dc83ebfe102aaf980495b14fd6a06a24fd1 (patch)
treef4df6996d0d3034b41a3162aedfab36c06dd1747 /lib/bitbucket
parentffa35233573acd31725677547555598fc36072e0 (diff)
downloadgitlab-ce-e0ef9dc83ebfe102aaf980495b14fd6a06a24fd1.tar.gz
BB importer: Milestone importer
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 ffe8a65d839..3af731753d1 100644
--- a/lib/bitbucket/representation/issue.rb
+++ b/lib/bitbucket/representation/issue.rb
@@ -27,6 +27,10 @@ module Bitbucket
raw['title']
end
+ def milestone
+ raw.dig('milestone', 'name')
+ end
+
def created_at
raw['created_on']
end