diff --git a/packages/nodes-base/credentials/JiraSoftwareCloudApi.credentials.ts b/packages/nodes-base/credentials/JiraSoftwareCloudApi.credentials.ts index b1c54bfd54..a11d526f7d 100644 --- a/packages/nodes-base/credentials/JiraSoftwareCloudApi.credentials.ts +++ b/packages/nodes-base/credentials/JiraSoftwareCloudApi.credentials.ts @@ -5,7 +5,7 @@ import { export class JiraSoftwareCloudApi implements ICredentialType { name = 'jiraSoftwareCloudApi'; - displayName = 'Jira Software Cloud API'; + displayName = 'Jira SW Cloud API'; properties = [ { displayName: 'Email', diff --git a/packages/nodes-base/nodes/Jira/IssueDescription.ts b/packages/nodes-base/nodes/Jira/IssueDescription.ts index eb9079603e..ee061e0a9c 100644 --- a/packages/nodes-base/nodes/Jira/IssueDescription.ts +++ b/packages/nodes-base/nodes/Jira/IssueDescription.ts @@ -41,8 +41,7 @@ export const issueOpeations = [ { name: 'Transitions', value: 'transitions', - description: `Returns either all transitions or a transition that can be performed by
- the user on an issue, based on the issue's status.`, + description: `Returns either all transitions or a transition that can be performed by the user on an issue, based on the issue's status.`, }, { name: 'Delete', diff --git a/packages/nodes-base/nodes/Jira/JiraSoftwareCloud.node.ts b/packages/nodes-base/nodes/Jira/JiraSoftwareCloud.node.ts index dcf3276046..f5dd4afe85 100644 --- a/packages/nodes-base/nodes/Jira/JiraSoftwareCloud.node.ts +++ b/packages/nodes-base/nodes/Jira/JiraSoftwareCloud.node.ts @@ -209,9 +209,11 @@ export class JiraSoftwareCloud implements INodeType { const length = items.length as unknown as number; let responseData; const qs: IDataObject = {}; + + const resource = this.getNodeParameter('resource', 0) as string; + const operation = this.getNodeParameter('operation', 0) as string; + for (let i = 0; i < length; i++) { - const resource = this.getNodeParameter('resource', 0) as string; - const operation = this.getNodeParameter('operation', 0) as string; if (resource === 'issue') { //https://developer.atlassian.com/cloud/jira/platform/rest/v2/#api-rest-api-2-issue-post if (operation === 'create') { diff --git a/packages/nodes-base/nodes/Jira/jira.png b/packages/nodes-base/nodes/Jira/jira.png index db28f59c87..066c3b0aee 100644 Binary files a/packages/nodes-base/nodes/Jira/jira.png and b/packages/nodes-base/nodes/Jira/jira.png differ