summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-02-10 06:53:35 +0100
committerGitHub <noreply@github.com>2017-02-10 06:53:35 +0100
commit1e0ae591616b297739bb5f35db6697eee88909a3 (patch)
treea6f9fd497c17d76babe0702cc6f155062f5b0e01 /gitlab/objects.py
parent19c77845a2d69bed180f175f3a98761655631d0f (diff)
parent58708b186e71289427cbce8decfeab28fdf66ad6 (diff)
downloadgitlab-1e0ae591616b297739bb5f35db6697eee88909a3.tar.gz
Merge pull request #216 from ExodusIntelligence/hotfix-issue_due_date-215
added due_date attribute to ProjectIssue
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index 9648e26..41931ab 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -1448,10 +1448,10 @@ class ProjectIssue(GitlabObject):
requiredUrlAttrs = ['project_id']
requiredCreateAttrs = ['title']
optionalCreateAttrs = ['description', 'assignee_id', 'milestone_id',
- 'labels', 'created_at']
+ 'labels', 'created_at', 'due_date']
optionalUpdateAttrs = ['title', 'description', 'assignee_id',
'milestone_id', 'labels', 'created_at',
- 'updated_at', 'state_event']
+ 'updated_at', 'state_event', 'due_date']
shortPrintAttr = 'title'
managers = (
('notes', ProjectIssueNoteManager,