n8n-nodes-base
Version:
Base nodes of n8n
74 lines (70 loc) • 2.61 kB
text/typescript
/**
* Taiga Node - Version 1
* Discriminator: resource=userStory, operation=create
*/
interface Credentials {
taigaApi: CredentialReference;
}
/** Create an epic */
export type TaigaV1UserStoryCreateParams = {
resource: 'userStory';
operation: 'create';
/**
* ID of the project to which the user story 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 user story 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>;
/** Order of the user story in the backlog
* @default 1
*/
backlog_order?: number | Expression<number>;
/** Reason why the user story is blocked. Requires "Is Blocked" toggle to be enabled.
*/
blocked_note?: string | Expression<string> | PlaceholderValue;
/** Description
*/
description?: string | Expression<string> | PlaceholderValue;
/** Whether the user story is blocked
* @default false
*/
is_blocked?: boolean | Expression<boolean>;
/** Order of the user story in the kanban
* @default 1
*/
kanban_order?: number | Expression<number>;
/** ID of the milestone of the user story. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
milestone?: string | Expression<string>;
/** Order of the user story in the milestone
* @default 1
*/
sprint_order?: number | Expression<number>;
/** ID of the status of the user story. 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 TaigaV1UserStoryCreateNode = {
type: 'n8n-nodes-base.taiga';
version: 1;
credentials?: Credentials;
config: NodeConfig<TaigaV1UserStoryCreateParams>;
};