@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.
31 lines (29 loc) • 1.18 kB
text/typescript
import type { ProjectDetails } from './projectDetails';
import type { PublishedWorkflowId } from './publishedWorkflowId';
import type { Transition } from './transition';
import type { WorkflowOperations } from './workflowOperations';
import type { WorkflowSchemeIdName } from './workflowSchemeIdName';
import type { WorkflowStatus } from './workflowStatus';
/** Details about a workflow. */
export interface Workflow {
id: PublishedWorkflowId;
/** The description of the workflow. */
description: string;
/** The transitions of the workflow. */
transitions?: Transition[];
/** The statuses of the workflow. */
statuses?: WorkflowStatus[];
/** Whether this is the default workflow. */
isDefault?: boolean;
/** The workflow schemes the workflow is assigned to. */
schemes?: WorkflowSchemeIdName[];
/** The projects the workflow is assigned to, through workflow schemes. */
projects?: ProjectDetails[];
/** Whether the workflow has a draft version. */
hasDraftWorkflow?: boolean;
operations?: WorkflowOperations;
/** The creation date of the workflow. */
created?: string;
/** The last edited date of the workflow. */
updated?: string;
}