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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { id: number; issueType: string; returnDraftIfExists?: boolean; } | - |
parameters.id | number | The ID of the workflow scheme. |
parameters.issueType? | string | The ID of the issue type. |
parameters.returnDraftIfExists? | boolean | Returns 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; }>