diff --git a/packages/nodes-base/nodes/Gitlab/Gitlab.node.ts b/packages/nodes-base/nodes/Gitlab/Gitlab.node.ts index f7d20787c..1f1d0b519 100644 --- a/packages/nodes-base/nodes/Gitlab/Gitlab.node.ts +++ b/packages/nodes-base/nodes/Gitlab/Gitlab.node.ts @@ -259,6 +259,23 @@ export class Gitlab implements INodeType { }, description: 'The body of the issue.', }, + { + displayName: 'Due Date', + name: 'due_date', + type: 'dateTime', + displayOptions: { + show: { + operation: [ + 'create', + ], + resource: [ + 'issue', + ], + }, + }, + default: '', + description: 'Due Date for issue.', + }, { displayName: 'Labels', name: 'labels', @@ -318,6 +335,7 @@ export class Gitlab implements INodeType { ], }, + // ---------------------------------- // issue:createComment // ---------------------------------- @@ -409,7 +427,7 @@ export class Gitlab implements INodeType { }, { displayName: 'Body', - name: 'body', + name: 'description', type: 'string', typeOptions: { rows: 5, @@ -474,6 +492,13 @@ export class Gitlab implements INodeType { }, ], }, + { + displayName: 'Due Date', + name: 'due_date', + type: 'dateTime', + default: '', + description: 'Due Date for issue.', + }, ], }, @@ -829,6 +854,7 @@ export class Gitlab implements INodeType { body.title = this.getNodeParameter('title', i) as string; body.description = this.getNodeParameter('body', i) as string; + body.due_date = this.getNodeParameter('due_date', i) as string; const labels = this.getNodeParameter('labels', i) as IDataObject[]; const assigneeIds = this.getNodeParameter('assignee_ids', i) as IDataObject[];