Open Context Protocol is live! 🚀 Read the launch post
deleteDraftWorkflowMapping

deleteDraftWorkflowMapping

Delete issue types for workflow in draft workflow scheme

Details

  • Method: DELETE
  • Path: /rest/api/3/workflowscheme/{id}/draft/workflow
  • Operation ID: deleteDraftWorkflowMapping

Parameters

{
  "id": {
    "description": "The ID of the workflow scheme that the draft belongs to.",
    "required": true,
    "location": "path",
    "type": "integer",
    "format": "int64"
  },
  "workflowName": {
    "description": "The name of the workflow.",
    "required": true,
    "location": "query",
    "type": "string"
  }
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('jira')

# Call this tool
result = await agent.call_tool('deleteDraftWorkflowMapping', {
    # Add required parameters here
})