v4

OpenAPI 3.0.1Apache 2.02026-08-016169702.3 MB
Issue custom field contexts

Assign custom field context to projects

Assigns a custom field context to projects.

If any project in the request is assigned to any context of the custom field, the operation fails.

This API will not allow adding projects to the global context from April 2026. Instead, an HTTP 400 response will be returned. See CHANGE-3019

Permissions required: Administer Jira global permission.

put/rest/api/3/field/{fieldId}/context/{contextId}/project

Path parameters

fieldIdstring required

The ID of the custom field.

contextIdinteger required

The ID of the context.

Request body

projectIdsstring[] required

The IDs of projects.

Response

Returned if operation is successful.

{"stackTrail":"paths:/rest/api/3/field/{fieldId}/context/{contextId}/project:put:responses:204:content:application/json:schema","oasType":"schema","type":"unknown"}