Skip to content

Function: getDraftIssueType() ​

ts
function getDraftIssueType(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  issueType?: string;
  updateDraftIfNeeded?: boolean;
  workflow?: string;
}>;

Defined in: src/server/api/workflowSchemes.ts:295

Returns the issue type mapping for the passed draft workflow scheme.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ id: number; issueType: string; }-
parameters.idnumberThe id of the parent scheme.
parameters.issueType?stringThe issue type to query.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; issueType?: string; updateDraftIfNeeded?: boolean; workflow?: string; }>