n8n-nodes-base
Version:
Base nodes of n8n
68 lines (64 loc) • 2.56 kB
text/typescript
/**
* Taiga Node - Version 1
* Discriminator: resource=issue, operation=create
*/
interface Credentials {
taigaApi: CredentialReference;
}
/** Create an epic */
export type TaigaV1IssueCreateParams = {
resource: 'issue';
operation: 'create';
/**
* ID of the project to which the issue belongs. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
projectId?: string | Expression<string>;
/**
* Subject
*/
subject?: string | Expression<string> | PlaceholderValue;
/**
* Additional Fields
* @default {}
*/
additionalFields?: {
/** ID of the user to whom the issue is assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
assigned_to?: string | Expression<string>;
/** Reason why the issue is blocked. Requires "Is Blocked" toggle to be enabled.
*/
blocked_note?: string | Expression<string> | PlaceholderValue;
/** Description
*/
description?: string | Expression<string> | PlaceholderValue;
/** Whether the issue is blocked
* @default false
*/
is_blocked?: boolean | Expression<boolean>;
/** ID of the milestone of the issue. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
milestone?: string | Expression<string>;
/** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
priority?: string | Expression<string>;
/** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
severity?: string | Expression<string>;
/** ID of the status of the issue. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
status?: string | Expression<string>;
/** Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
* @default []
*/
tags?: string[];
/** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
type?: string | Expression<string>;
};
};
export type TaigaV1IssueCreateNode = {
type: 'n8n-nodes-base.taiga';
version: 1;
credentials?: Credentials;
config: NodeConfig<TaigaV1IssueCreateParams>;
};