feat(Jira Node): Use Jira rendered fields with simplify option (#3323)

* 💄 Use Jira rendered fields with simplify

* 🐛 Merge the renderedField results with fields

*  improvements

*  Improvements

Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
This commit is contained in:
pemontto
2022-07-04 10:43:37 +01:00
committed by GitHub
parent 59f2e8e7d5
commit 07b6cffdba
4 changed files with 55 additions and 55 deletions

View File

@@ -1,4 +1,6 @@
import {
IAuthenticateGeneric,
ICredentialTestRequest,
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
@@ -29,4 +31,19 @@ export class JiraSoftwareCloudApi implements ICredentialType {
placeholder: 'https://example.atlassian.net',
},
];
authenticate: IAuthenticateGeneric = {
type: 'generic',
properties: {
auth:{
username: '={{$credentials.email}}',
password: '={{$credentials.apiToken}}',
},
},
};
test: ICredentialTestRequest = {
request: {
baseURL: '={{$credentials?.domain}}',
url: '/rest/api/2/project',
},
};
}