Open Context Protocol is live! 🚀 Read the launch post

addVote

Add vote

Details

  • Method: POST
  • Path: /rest/api/3/issue/{issueIdOrKey}/votes
  • Operation ID: addVote

Parameters

{
  "issueIdOrKey": {
    "description": "The ID or key of the issue.",
    "required": true,
    "location": "path",
    "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('addVote', {
    # Add required parameters here
})