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

getWorklogProperty

Get worklog property

Details

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

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 property.",
    "required": true,
    "location": "path",
    "type": "string"
  }
}

Response Schema

{
  "additionalProperties": false,
  "description": "An entity property, for more information see [Entity properties](https://developer.atlassian.com/cloud/jira/platform/jira-entity-properties/).",
  "properties": {
    "key": {
      "description": "The key of the property. Required on create and update.",
      "type": "string"
    },
    "value": {
      "description": "The value of the property. Required on create and update."
    }
  },
  "type": "object"
}

Usage

from ocp_agent import OCPAgent

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

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