v4

latestOpenAPI 3.0.1Apache 2.02026-08-016079122.3 MB
Issue custom field contexts

Remove custom field context from projects

Removes a custom field context from projects.

A custom field context without any projects applies to all projects. Removing all projects from a custom field context would result in it applying to all projects.

If any project in the request is not assigned to the context, or the operation would result in two global contexts for the field, the operation fails.

Permissions required: Administer Jira global permission.

post/rest/api/2/field/{fieldId}/context/{contextId}/project/remove

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 the custom field context is removed from the projects.

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