Create Custom Field Context
POST {{baseUrl}}/rest/api/3/field/:fieldId/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.
Request Body
{"name"=>"<string>", "description"=>"<string>", "projectIds"=>["<string>", "<string>"], "issueTypeIds"=>["<string>", "<string>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"id":"10025","name":"Bug fields context","description":"A context used to define the custom field options for bugs.","projectIds":[],"issueTypeIds":["10010"]}