8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96a44ef commit 5d25344Copy full SHA for 5d25344
gitlab.py
@@ -939,6 +939,15 @@ class ProjectIssue(GitlabObject):
939
940
shortPrintAttr = 'title'
941
942
+ def _dataForGitlab(self, extra_parameters={}):
943
+ # Gitlab-api returns labels in a json list and takes them in a
944
+ # comma separated list.
945
+ if hasattr(self, "labels") and self.labels is not None:
946
+ labels = ", ".join(self.labels)
947
+ extra_parameters.update(labels)
948
+
949
+ return super(ProjectIssue, self)._dataForGitlab(extra_parameters)
950
951
def Note(self, id=None, **kwargs):
952
return ProjectIssueNote._getListOrObject(self.gitlab, id,
953
project_id=self.project_id,
0 commit comments