Skip to content

Commit

Permalink
gitlab: fill in milestone and update/create time
Browse files Browse the repository at this point in the history
They actually are provided despite not being mentioned in the API
example return.
  • Loading branch information
mathstuf committed Mar 5, 2015
1 parent 7790450 commit a37eff2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bugwarrior/services/gitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ def _normalize_label_to_tag(self, label):
def to_taskwarrior(self):
if self.extra['type'] == 'merge_request':
priority = 'H'
milestone = '' # No milestone
created = '' # No creation time
updated = '' # No updated time
milestone = self.record['milestone']
created = self.record['created_at']
updated = self.record['updated_at']
state = self.record['state']
upvotes = self.record['upvotes']
downvotes = self.record['downvotes']
Expand Down

0 comments on commit a37eff2

Please sign in to comment.