@esm-js/jira.js
Version:
A comprehensive JavaScript/TypeScript library designed for both Node.JS and browsers, facilitating seamless interaction with the Atlassian Jira API.
32 lines (30 loc) • 1.19 kB
text/typescript
import type { ConditionGroupConfiguration } from './conditionGroupConfiguration';
import type { WorkflowRuleConfiguration } from './workflowRuleConfiguration';
import type { WorkflowStatusAndPort } from './workflowStatusAndPort';
import type { WorkflowTrigger } from './workflowTrigger';
/** The transitions of the workflow. */
export interface WorkflowTransitions {
/** The post-functions of the transition. */
actions?: WorkflowRuleConfiguration[];
conditions?: ConditionGroupConfiguration;
/** The custom event ID of the transition. */
customIssueEventId?: string;
/** The description of the transition. */
description?: string;
/** The statuses the transition can start from. */
from?: WorkflowStatusAndPort[];
/** The ID of the transition. */
id?: string;
/** The name of the transition. */
name?: string;
/** The properties of the transition. */
properties?: unknown;
to?: WorkflowStatusAndPort;
transitionScreen?: WorkflowRuleConfiguration;
/** The triggers of the transition. */
triggers?: WorkflowTrigger[];
/** The transition type. */
type?: string;
/** The validators of the transition. */
validators?: WorkflowRuleConfiguration[];
}