v4

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

Create custom field context

Creates a custom field context.

If projectIds is empty, a global context is created. A global context is one that applies to all project. If issueTypeIds is empty, the context applies to all issue types.

Permissions required: Administer Jira global permission.

post/rest/api/2/field/{fieldId}/context

Path parameters

fieldIdstring required

The ID of the custom field.

Request body

descriptionstring

The description of the context.

idstring

The ID of the context.

issueTypeIdsstring[]

The list of issue types IDs for the context. If the list is empty, the context refers to all issue types.

namestring required

The name of the context.

projectIdsstring[]

The list of project IDs associated with the context. If the list is empty, the context is global.

Response

Returned if the custom field context is created.

descriptionstring

The description of the context.

idstring

The ID of the context.

issueTypeIdsstring[]

The list of issue types IDs for the context. If the list is empty, the context refers to all issue types.

namestring required

The name of the context.

projectIdsstring[]

The list of project IDs associated with the context. If the list is empty, the context is global.