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