provider Issue custom field contexts PUT
/rest/api/3/field/{fieldId}/context/{contextId}/project @utdk/jira
/rest/api/3/field/{fieldId}/context/{contextId}/project 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](https://developer.atlassian.com/changelog/#CHANGE-3019)
**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
- fieldId path required
- The ID of the custom field.
- string
- contextId path required
- The ID of the context.
- integer
Try it
Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import jira from '@utdk/jira';
await jira.assignprojectstocustomfieldcontext()