Skip to content

Function: getWorkflowSchemeIssueType() ​

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

Defined in: src/cloud/api/workflowSchemes.ts:355

Returns the issue type-workflow mapping for an issue type in a workflow scheme.

Permissions required:Administer Jira global permission.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ id: number; issueType: string; returnDraftIfExists?: boolean; }-
parameters.idnumberThe ID of the workflow scheme.
parameters.issueType?stringThe ID of the issue type.
parameters.returnDraftIfExists?booleanReturns the mapping from the workflow scheme's draft rather than the workflow scheme, if set to true. If no draft exists, the mapping from the workflow scheme is returned.
options?RequestOptions-

Returns ​

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