The transitions of the workflow. Note that a transition can have either the deprecated to/from fields or the toStatusReference/links fields, but never both nor a combination.

interface WorkflowTransitions {
    actions?: (null | WorkflowRuleConfiguration)[];
    conditions?: null | ConditionGroupConfiguration;
    customIssueEventId?: null | string;
    description?: string;
    from?: (null | WorkflowStatusAndPort)[];
    id?: string;
    links?: (null | WorkflowTransitionLinks)[];
    name?: string;
    properties?: {
        [key: string]: string;
    };
    to?: null | WorkflowStatusAndPort;
    toStatusReference?: string;
    transitionScreen?: null | WorkflowRuleConfiguration;
    triggers?: WorkflowTrigger[];
    type?: "INITIAL" | "GLOBAL" | "DIRECTED";
    validators?: (null | WorkflowRuleConfiguration)[];
}

Properties

actions?: (null | WorkflowRuleConfiguration)[]

The post-functions of the transition.

conditions?: null | ConditionGroupConfiguration

The conditions group associated with the transition.

customIssueEventId?: null | string

The custom event ID of the transition.

description?: string

The description of the transition.

from?: (null | WorkflowStatusAndPort)[]

The statuses and ports that the transition can start from. This field is deprecated - use toStatusReference/links instead.

id?: string

The ID of the transition.

links?: (null | WorkflowTransitionLinks)[]

The statuses the transition can start from, and the mapping of ports between the statuses.

name?: string

The name of the transition.

properties?: {
    [key: string]: string;
}

The properties of the transition.

Type declaration

  • [key: string]: string

    The properties of the transition.

The status reference and port that a transition is connected to.

toStatusReference?: string

The status the transition goes to.

transitionScreen?: null | WorkflowRuleConfiguration

The configuration of the rule.

triggers?: WorkflowTrigger[]

The triggers of the transition.

type?: "INITIAL" | "GLOBAL" | "DIRECTED"

The transition type.

validators?: (null | WorkflowRuleConfiguration)[]

The validators of the transition.