Skip to content

Commit

Permalink
fix(Jira Software Node): Handle missing issue types in issue types lo…
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Oct 27, 2023
1 parent 87996a1 commit 9762705
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/nodes-base/nodes/Jira/Jira.node.ts
Expand Up @@ -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;
Expand Down

0 comments on commit 9762705

Please sign in to comment.