diff options
author | Valery Sizov <valery@gitlab.com> | 2016-12-16 12:12:53 +0200 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-12-16 12:12:53 +0200 |
commit | e0ef9dc83ebfe102aaf980495b14fd6a06a24fd1 (patch) | |
tree | f4df6996d0d3034b41a3162aedfab36c06dd1747 /lib/bitbucket | |
parent | ffa35233573acd31725677547555598fc36072e0 (diff) | |
download | gitlab-ce-e0ef9dc83ebfe102aaf980495b14fd6a06a24fd1.tar.gz |
BB importer: Milestone importer
Diffstat (limited to 'lib/bitbucket')
-rw-r--r-- | lib/bitbucket/representation/issue.rb | 4 |
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 |