---
title: "Changes to Set default values for a custom field by context and issue type"
method: PUT
path: "/rest/api/2/field/{fieldId}/context/defaultValues"
---

# Changes to Set default values for a custom field by context and issue type

`PUT /rest/api/2/field/{fieldId}/context/defaultValues`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 26 revisions.

- **2026-10-14** `a8f48f288913`: 2 info
- **2026-09-29** `b12902d05291`: 1 info

## Changes

- **2026-10-14** `a8f48f288913`: 2 info
  - added `longtext` discriminator mapping keys to the `defaultValues/items/value` request property
  - added `#/components/schemas/CustomFieldContextDefaultValueLongText` to the `defaultValues/items/value` request property `oneOf` list
- **2026-09-29** `b12902d05291`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api/docs/rest/api/2/field/:fieldId/context/defaultValues/put.md) - [API](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api.md) - [Page](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api/changes/rest/api/2/field/:fieldId/context/defaultValues/put)
