From 0c139f34c60f7a60eaebe73345d3c0912d650d59 Mon Sep 17 00:00:00 2001 From: Abderrahim Kitouni Date: Fri, 20 Apr 2018 17:38:23 +0100 Subject: [PATCH] gitlab: make the gitlabnumber UDA a string (fixes #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. --- bugwarrior/services/gitlab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bugwarrior/services/gitlab.py b/bugwarrior/services/gitlab.py index 87f8e4689..1c466c70d 100644 --- a/bugwarrior/services/gitlab.py +++ b/bugwarrior/services/gitlab.py @@ -80,7 +80,7 @@ class GitlabIssue(Issue): 'label': 'Gitlab Type', }, NUMBER: { - 'type': 'numeric', + 'type': 'string', 'label': 'Gitlab Issue/MR #', }, STATE: { @@ -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,