Issue custom field contexts

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

Changed on

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 {@code issueTypeId}, or the catch-all configuration through {@code isAnyIssueType=true}. A null value removes the default for that target. Entries not included in the request are left unchanged.

put/rest/api/2/field/{fieldId}/context/defaultValues

Request

  • Base URL: https://your-domain.atlassian.net
  • URL: https://your-domain.atlassian.net/rest/api/2/field/{fieldId}/context/defaultValues
  • Auth: one of:
    • HTTP basic
    • OAuth 2 (authorization code, authorization URL https://auth.atlassian.com/authorize, token URL https://auth.atlassian.com/oauth/token, scopes: manage:jira-configuration)

Path parameters

fieldIdstring required

The ID of the custom field, for example {@code customfield_10000}.

Request body

Response

Returned if all default values were updated successfully.

unknown required

Changes

    • info

      added longtext discriminator mapping keys to the // request property

    • info

      added to the // request property oneOf list

    • info

      endpoint added