mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(Linear Node): Add options to add a link and a comment to an issue (#13464)
This commit is contained in:
@@ -12,6 +12,12 @@ export const issueOperations: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: 'Add Link',
|
||||
value: 'addLink',
|
||||
description: 'Add a link to an issue',
|
||||
action: 'Add a link to an issue',
|
||||
},
|
||||
{
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
@@ -164,7 +170,7 @@ export const issueFields: INodeProperties[] = [
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: ['issue'],
|
||||
operation: ['get', 'delete'],
|
||||
operation: ['addLink', 'get', 'delete'],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
@@ -307,4 +313,20 @@ export const issueFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* issue:addLink */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
{
|
||||
displayName: 'Link',
|
||||
name: 'link',
|
||||
type: 'string',
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: ['issue'],
|
||||
operation: ['addLink'],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user