2020-02-02 07:01:56 -08:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
|
|
|
NodePropertyTypes,
|
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
export class JiraSoftwareServerApi implements ICredentialType {
|
|
|
|
name = 'jiraSoftwareServerApi';
|
|
|
|
displayName = 'Jira SW Server API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'jira';
|
2020-02-02 07:01:56 -08:00
|
|
|
properties = [
|
|
|
|
{
|
|
|
|
displayName: 'Email',
|
|
|
|
name: 'email',
|
|
|
|
type: 'string' as NodePropertyTypes,
|
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Password',
|
|
|
|
name: 'password',
|
|
|
|
typeOptions: {
|
|
|
|
password: true,
|
|
|
|
},
|
|
|
|
type: 'string' as NodePropertyTypes,
|
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Domain',
|
|
|
|
name: 'domain',
|
|
|
|
type: 'string' as NodePropertyTypes,
|
|
|
|
default: '',
|
2020-02-06 19:03:29 -08:00
|
|
|
placeholder: 'https://example.com',
|
2020-02-02 07:01:56 -08:00
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|