setDefaultValues
Set custom field contexts default values
Details
- Method:
PUT - Path:
/rest/api/3/field/{fieldId}/context/defaultValue - Operation ID:
setDefaultValues
Parameters
{
"fieldId": {
"description": "The ID of the custom field.",
"required": true,
"location": "path",
"type": "string"
},
"defaultValues": {
"description": "",
"required": false,
"location": "body",
"type": "array"
}
}Response Schema
{}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('setDefaultValues', {
# Add required parameters here
})