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

updatePrecomputations

Update precomputations (apps)

Details

  • Method: POST
  • Path: /rest/api/3/jql/function/computation
  • Operation ID: updatePrecomputations

Parameters

{
  "skipNotFoundPrecomputations": {
    "description": "",
    "required": false,
    "location": "query",
    "type": "boolean"
  },
  "values": {
    "description": "",
    "required": false,
    "location": "body",
    "type": "array"
  }
}

Response Schema

{
  "additionalProperties": false,
  "description": "Result of updating JQL Function precomputations.",
  "properties": {
    "notFoundPrecomputationIDs": {
      "description": "List of precomputations that were not found and skipped. Only returned if the request passed skipNotFoundPrecomputations=true.",
      "items": {
        "readOnly": true,
        "type": "string"
      },
      "readOnly": true,
      "type": "array",
      "uniqueItems": true
    }
  },
  "type": "object"
}

Usage

from ocp_agent import OCPAgent

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

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