@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.
25 lines (23 loc) • 1.01 kB
text/typescript
import type { DocumentVersion } from './documentVersion';
import type { StatusLayoutUpdate } from './statusLayoutUpdate';
import type { StatusMappingDTO } from './statusMappingDTO';
import type { StatusMigration } from './statusMigration';
import type { TransitionUpdateDTO } from './transitionUpdateDTO';
import type { WorkflowLayout } from './workflowLayout';
/** The details of the workflows to update. */
export interface WorkflowUpdate {
/** The mapping of old to new status ID. */
defaultStatusMappings?: StatusMigration[];
/** The new description for this workflow. */
description?: string;
/** The ID of this workflow. */
id: string;
startPointLayout?: WorkflowLayout;
/** The mapping of old to new status ID for a specific project and issue type. */
statusMappings?: StatusMappingDTO[];
/** The statuses associated with this workflow. */
statuses: StatusLayoutUpdate[];
/** The transitions of this workflow. */
transitions: TransitionUpdateDTO[];
version: DocumentVersion;
}