Skip to content

Commit

Permalink
gitlab: make the gitlabnumber UDA a string (fixes GothenburgBitFactor…
Browse files Browse the repository at this point in the history
…y#552)

The gitlabnumber's of todos on gitlab.com have grown beyond the limits of the
numeric type, and that may happen on other instances too.
  • Loading branch information
abderrahim committed Apr 20, 2018
1 parent fe5da90 commit 90a939c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bugwarrior/services/gitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class GitlabIssue(Issue):
'label': 'Gitlab Type',
},
NUMBER: {
'type': 'numeric',
'type': 'string',
'label': 'Gitlab Issue/MR #',
},
STATE: {
Expand Down Expand Up @@ -168,7 +168,7 @@ def to_taskwarrior(self):
self.TITLE: title,
self.DESCRIPTION: description,
self.MILESTONE: milestone,
self.NUMBER: number,
self.NUMBER: str(number),
self.CREATED_AT: created,
self.UPDATED_AT: updated,
self.DUEDATE: duedate,
Expand Down

0 comments on commit 90a939c

Please sign in to comment.