Function: getIssueTypeMappingsForContexts()
ts
function getIssueTypeMappingsForContexts(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
isLast: boolean;
maxResults: number;
nextPage?: string;
self?: string;
startAt: number;
total: number;
values: object[];
}>;Defined in: src/cloud/api/issueCustomFieldContexts.ts:144
Returns a paginated list of context to issue type mappings for a custom field. Mappings are returned for all contexts or a list of contexts. Mappings are ordered first by context ID and then by issue type ID.
Permissions required:Administer Jira global permission.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { contextId?: number[]; fieldId: string; maxResults?: number; startAt?: number; } | - |
parameters.contextId? | number[] | The ID of the context. To include multiple contexts, provide an ampersand-separated list. For example, contextId=10001&contextId=10002. |
parameters.fieldId? | string | The ID of the custom field. |
parameters.maxResults? | number | The maximum number of items to return per page. |
parameters.startAt? | number | The index of the first item to return in a page of results (page offset). |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; isLast: boolean; maxResults: number; nextPage?: string; self?: string; startAt: number; total: number; values: object[]; }>