UNPKG

@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 (20 loc) 824 B
import type { IssueTypeWorkflowMapping } from '../models'; export interface SetWorkflowSchemeIssueType extends IssueTypeWorkflowMapping { /** The ID of the workflow scheme. */ id: number; /** The ID of the issue type. */ issueType: string; /** Details about the mapping between an issue type and a workflow. */ details: { /** The ID of the issue type. Not required if updating the issue type-workflow mapping. */ issueType?: string; /** The name of the workflow. */ workflow?: string; /** * Set to true to create or update the draft of a workflow scheme and update the mapping in the draft, when the * workflow scheme cannot be edited. Defaults to `false`. Only applicable when updating the workflow-issue types * mapping. */ updateDraftIfNeeded?: boolean; }; }