mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08: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:
parent
87996a1fcf
commit
9762705833
|
@ -183,6 +183,9 @@ export class Jira implements INodeType {
|
|||
`/api/2/project/${projectId}`,
|
||||
'GET',
|
||||
);
|
||||
|
||||
if (!issueTypes) return { results: [] };
|
||||
|
||||
for (const issueType of issueTypes) {
|
||||
const issueTypeName = issueType.name;
|
||||
const issueTypeId = issueType.id;
|
||||
|
|
Loading…
Reference in a new issue