summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index 5166b08..b88934e 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -1376,6 +1376,7 @@ class ProjectIssueNote(GitlabObject):
canDelete = False
requiredUrlAttrs = ['project_id', 'issue_id']
requiredCreateAttrs = ['body']
+ optionalCreateAttrs = ['created_at']
class ProjectIssueNoteManager(BaseManager):
@@ -1394,7 +1395,7 @@ class ProjectIssue(GitlabObject):
'labels', 'created_at']
optionalUpdateAttrs = ['title', 'description', 'assignee_id',
'milestone_id', 'labels', 'created_at',
- 'state_event']
+ 'updated_at', 'state_event']
shortPrintAttr = 'title'
managers = (
('notes', ProjectIssueNoteManager,