updateCustomFieldContext
Update custom field context
Details
- Method:
PUT - Path:
/rest/api/3/field/{fieldId}/context/{contextId} - Operation ID:
updateCustomFieldContext
Parameters
{
"fieldId": {
"description": "The ID of the custom field.",
"required": true,
"location": "path",
"type": "string"
},
"contextId": {
"description": "The ID of the context.",
"required": true,
"location": "path",
"type": "integer",
"format": "int64"
},
"description": {
"description": "The description of the custom field context. The maximum length is 255 characters.",
"required": false,
"location": "body",
"type": "string"
},
"name": {
"description": "The name of the custom field context. The name must be unique. The maximum length is 255 characters.",
"required": false,
"location": "body",
"type": "string"
}
}Response Schema
{}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('updateCustomFieldContext', {
# Add required parameters here
})