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

setWorklogProperty

Set worklog property

Details

  • Method: PUT
  • Path: /rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties/{propertyKey}
  • Operation ID: setWorklogProperty

Parameters

{
  "issueIdOrKey": {
    "description": "The ID or key of the issue.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "worklogId": {
    "description": "The ID of the worklog.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "propertyKey": {
    "description": "The key of the issue property. The maximum length is 255 characters.",
    "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('setWorklogProperty', {
    # Add required parameters here
})