Skip to content

Function: getWorkflowSchemeIssueType() ​

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

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

Returns the issue type mapping for the passed workflow scheme.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ id: number; issueType: string; returnDraftIfExists?: boolean; }-
parameters.idnumberThe id of the scheme.
parameters.issueType?stringThe issue type to query.
parameters.returnDraftIfExists?booleanWhen true indicates that a scheme's draft, if it exists, should be queried instead of the scheme itself.
options?RequestOptions-

Returns ​

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