Open Context Protocol is live! 🚀 Read the launch post

addWatcher

Add watcher

Details

  • Method: POST
  • Path: /rest/api/3/issue/{issueIdOrKey}/watchers
  • Operation ID: addWatcher

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('addWatcher', {
    # Add required parameters here
})