jira_fields_create_context
Create a new context for a custom field, scoping it to specific projects and issue types. Optionally create a global context.
Instructions
Create a new context for a custom field, optionally scoped on creation.
A context determines which projects/issue types a field appears in, and owns its own set of options. projectIds/issueTypeIds are applied in the same create call. Returns: {success, field_id, context: {id, name, project_ids, issue_type_ids}}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"field_id": "<field_id>",
"name": "<name>"
},
"name": "jira_fields_create_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_id | Yes | Custom field ID, e.g. 'customfield_10001' | |
| name | Yes | Context name | |
| description | No | Context description | |
| project_ids | No | Project IDs to scope the context to. Omit for a global context. | |
| issue_type_ids | No | Issue type IDs to restrict the context to. Omit for all issue types. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||