deleteWorkflowMapping
Delete issue types for workflow in workflow scheme
Details
- Method:
DELETE - Path:
/rest/api/3/workflowscheme/{id}/workflow - Operation ID:
deleteWorkflowMapping
Parameters
{
"id": {
"description": "The ID of the workflow scheme.",
"required": true,
"location": "path",
"type": "integer",
"format": "int64"
},
"workflowName": {
"description": "The name of the workflow.",
"required": true,
"location": "query",
"type": "string"
},
"updateDraftIfNeeded": {
"description": "Set to true to create or update the draft of a workflow scheme and delete the mapping from the draft, when the workflow scheme cannot be edited. Defaults to `false`.",
"required": false,
"location": "query",
"type": "boolean"
}
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('deleteWorkflowMapping', {
# Add required parameters here
})