From 90a939cb3a9807effdca1092a473ca7f00509a9d 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 260a798e4..99a0a76d8 100644 --- a/bugwarrior/services/gitlab.py +++ b/bugwarrior/services/gitlab.py @@ -75,7 +75,7 @@ class GitlabIssue(Issue): 'label': 'Gitlab Type', }, NUMBER: { - 'type': 'numeric', + 'type': 'string', 'label': 'Gitlab Issue/MR #', }, STATE: { @@ -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,