mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Support for Jira server
This commit is contained in:
@@ -5,23 +5,77 @@ import {
|
||||
|
||||
export class JiraSoftwareCloudApi implements ICredentialType {
|
||||
name = 'jiraSoftwareCloudApi';
|
||||
displayName = 'Jira SW Cloud API';
|
||||
displayName = 'Jira SW API';
|
||||
properties = [
|
||||
{
|
||||
displayName: 'Jira Version',
|
||||
name: 'jiraVersion',
|
||||
type: 'options' as NodePropertyTypes,
|
||||
options: [
|
||||
{
|
||||
name: 'Cloud',
|
||||
value: 'cloud',
|
||||
},
|
||||
{
|
||||
name: 'Server (Self Hosted)',
|
||||
value: 'server',
|
||||
},
|
||||
],
|
||||
default: 'cloud',
|
||||
},
|
||||
{
|
||||
displayName: 'Email',
|
||||
name: 'email',
|
||||
displayOptions: {
|
||||
show: {
|
||||
jiraVersion: [
|
||||
'cloud',
|
||||
],
|
||||
},
|
||||
},
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'API Token',
|
||||
name: 'apiToken',
|
||||
displayOptions: {
|
||||
show: {
|
||||
jiraVersion: [
|
||||
'cloud',
|
||||
],
|
||||
},
|
||||
},
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Password',
|
||||
name: 'password',
|
||||
displayOptions: {
|
||||
show: {
|
||||
jiraVersion: [
|
||||
'server',
|
||||
],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
password: true,
|
||||
},
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Domain',
|
||||
name: 'domain',
|
||||
displayOptions: {
|
||||
show: {
|
||||
jiraVersion: [
|
||||
'cloud',
|
||||
'server',
|
||||
],
|
||||
},
|
||||
},
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user