From 021762c74e660969b975aeb297d02dfc39beaa8a Mon Sep 17 00:00:00 2001 From: mtahiue Date: Fri, 8 Nov 2019 12:41:47 +0100 Subject: [PATCH] Added due_date to gitlab create and edit issue --- .../nodes-base/nodes/Gitlab/Gitlab.node.ts | 33 ++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Gitlab/Gitlab.node.ts b/packages/nodes-base/nodes/Gitlab/Gitlab.node.ts index bcf5712a84..b832062442 100644 --- a/packages/nodes-base/nodes/Gitlab/Gitlab.node.ts +++ b/packages/nodes-base/nodes/Gitlab/Gitlab.node.ts @@ -317,7 +317,31 @@ export class Gitlab implements INodeType { }, ], }, - + { + displayName: 'Due Date', + name: 'date_date', + type: 'string', + displayOptions: { + show: { + operation: [ + 'create', + ], + resource: [ + 'issue', + ], + }, + }, + default: { 'due_date': '' }, + options: [ + { + displayName: 'Due Date', + name: 'date_date', + type: 'string', + default: 0, + description: 'Due Date for issue. Date time string in the format YEAR-MONTH-DAY, e.g. 2016-03-11', + }, + ], + }, // ---------------------------------- // issue:createComment // ---------------------------------- @@ -474,6 +498,13 @@ export class Gitlab implements INodeType { }, ], }, + { + displayName: 'Due Date', + name: 'due_date', + type: 'string', + default: '', + description: 'The Due Date of the issue. Date time string in the format YEAR-MONTH-DAY, e.g. 2016-03-11', + }, ], },