Skip to content

Commit

Permalink
gitlab: make the gitlabnumber UDA a string (fixes #552)
Browse files Browse the repository at this point in the history
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 authored and ralphbean committed May 6, 2019
1 parent f8f63b6 commit 0c139f3
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 @@ -80,7 +80,7 @@ class GitlabIssue(Issue):
'label': 'Gitlab Type',
},
NUMBER: {
'type': 'numeric',
'type': 'string',
'label': 'Gitlab Issue/MR #',
},
STATE: {
Expand Down Expand Up @@ -180,7 +180,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 0c139f3

Please sign in to comment.