mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(Jira Software Node): Handle missing issue types in issue types loader (#7534)
https://n8nio.sentry.io/issues/4576849854
This commit is contained in:
@@ -183,6 +183,9 @@ export class Jira implements INodeType {
|
|||||||
`/api/2/project/${projectId}`,
|
`/api/2/project/${projectId}`,
|
||||||
'GET',
|
'GET',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (!issueTypes) return { results: [] };
|
||||||
|
|
||||||
for (const issueType of issueTypes) {
|
for (const issueType of issueTypes) {
|
||||||
const issueTypeName = issueType.name;
|
const issueTypeName = issueType.name;
|
||||||
const issueTypeId = issueType.id;
|
const issueTypeId = issueType.id;
|
||||||
|
|||||||
Reference in New Issue
Block a user