mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
🐛 Fix issue loading issue types with classic projects (#1627)
* 🐛 Fix issue loading issue types with classic projects * ⚡ Minor improvements on Jira-Node Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
@@ -15,15 +15,20 @@ export const issueOperations = [
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: 'Changelog',
|
||||
value: 'changelog',
|
||||
description: 'Get issue changelog',
|
||||
},
|
||||
{
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new issue',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update an issue',
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete an issue',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
@@ -35,11 +40,6 @@ export const issueOperations = [
|
||||
value: 'getAll',
|
||||
description: 'Get all issues',
|
||||
},
|
||||
{
|
||||
name: 'Changelog',
|
||||
value: 'changelog',
|
||||
description: 'Get issue changelog',
|
||||
},
|
||||
{
|
||||
name: 'Notify',
|
||||
value: 'notify',
|
||||
@@ -51,9 +51,9 @@ export const issueOperations = [
|
||||
description: `Return either all transitions or a transition that can be performed by the user on an issue, based on the issue's status`,
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete an issue',
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update an issue',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -370,10 +370,7 @@ export const issueFields = [
|
||||
{
|
||||
displayName: 'Issue Type',
|
||||
name: 'issueType',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getIssueTypes',
|
||||
},
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Issue Types',
|
||||
},
|
||||
@@ -1135,4 +1132,4 @@ export const issueFields = [
|
||||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
] as INodeProperties[];
|
||||
|
||||
Reference in New Issue
Block a user