mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Some small adjustments
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -41,8 +41,7 @@ export const issueOpeations = [
|
||||
{
|
||||
name: 'Transitions',
|
||||
value: 'transitions',
|
||||
description: `Returns either all transitions or a transition that can be performed by<br/>
|
||||
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',
|
||||
|
||||
@@ -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') {
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 1.8 KiB |
Reference in New Issue
Block a user