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

getIssueLimitReport

Get issue limit report

Details

  • Method: GET
  • Path: /rest/api/3/issue/limit/report
  • Operation ID: getIssueLimitReport

Parameters

{
  "isReturningKeys": {
    "description": "Return issue keys instead of issue ids in the response.\n\nUsage: Add `?isReturningKeys=true` to the end of the path to request issue keys.",
    "required": false,
    "location": "query",
    "type": "boolean"
  }
}

Response Schema

{
  "additionalProperties": false,
  "properties": {
    "issuesApproachingLimit": {
      "additionalProperties": {
        "additionalProperties": {
          "format": "int64",
          "type": "integer"
        },
        "type": "object"
      },
      "description": "A list of ids of issues approaching the limit and their field count",
      "type": "object"
    },
    "issuesBreachingLimit": {
      "additionalProperties": {
        "additionalProperties": {
          "format": "int64",
          "type": "integer"
        },
        "type": "object"
      },
      "description": "A list of ids of issues breaching the limit and their field count",
      "type": "object"
    },
    "limits": {
      "additionalProperties": {
        "format": "int32",
        "type": "integer"
      },
      "description": "The fields and their defined limits",
      "type": "object"
    }
  },
  "type": "object"
}

Usage

from ocp_agent import OCPAgent

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

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