Function: setContextDefaultValues()
ts
function setContextDefaultValues(
client,
parameters,
options?
): Promise<void>;Defined in: src/cloud/api/issueCustomFieldContexts.ts:147
Updates default values for individual issue types in custom field contexts.
Only tenants enrolled in the early access program (EAP) can access this resource. See the EAP announcement for details.
Each entry targets either one issue type through issueTypeId, or the catch-all configuration through isAnyIssueType=true. A null value removes the default for that target. Entries not included in the request are left unchanged.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { defaultValues?: object[]; fieldId: string; } | - |
parameters.defaultValues? | object[] | The default values to update. |
parameters.fieldId? | string | The ID of the custom field, for example customfield\_10000. |
options? | RequestOptions | - |
Returns
Promise<void>