Skip to content

Commit 1e0ae59

Browse files
author
Gauvain Pocentek
authored
Merge pull request python-gitlab#216 from ExodusIntelligence/hotfix-issue_due_date-215
added due_date attribute to ProjectIssue
2 parents 19c7784 + 58708b1 commit 1e0ae59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitlab/objects.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1448,10 +1448,10 @@ class ProjectIssue(GitlabObject):
14481448
requiredUrlAttrs = ['project_id']
14491449
requiredCreateAttrs = ['title']
14501450
optionalCreateAttrs = ['description', 'assignee_id', 'milestone_id',
1451-
'labels', 'created_at']
1451+
'labels', 'created_at', 'due_date']
14521452
optionalUpdateAttrs = ['title', 'description', 'assignee_id',
14531453
'milestone_id', 'labels', 'created_at',
1454-
'updated_at', 'state_event']
1454+
'updated_at', 'state_event', 'due_date']
14551455
shortPrintAttr = 'title'
14561456
managers = (
14571457
('notes', ProjectIssueNoteManager,

0 commit comments

Comments
 (0)