addIssueTypesToContext
Add issue types to context
Details
- Method:
PUT - Path:
/rest/api/3/field/{fieldId}/context/{contextId}/issuetype - Operation ID:
addIssueTypesToContext
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"
},
"issueTypeIds": {
"description": "The list of issue type IDs.",
"required": true,
"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('addIssueTypesToContext', {
# Add required parameters here
})