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

getVersionUnresolvedIssues

Get version’s unresolved issues count

Details

  • Method: GET
  • Path: /rest/api/3/version/{id}/unresolvedIssueCount
  • Operation ID: getVersionUnresolvedIssues

Parameters

{
  "id": {
    "description": "The ID of the version.",
    "required": true,
    "location": "path",
    "type": "string"
  }
}

Response Schema

{
  "additionalProperties": false,
  "description": "Count of a version's unresolved issues.",
  "properties": {
    "issuesCount": {
      "description": "Count of issues.",
      "format": "int64",
      "readOnly": true,
      "type": "integer"
    },
    "issuesUnresolvedCount": {
      "description": "Count of unresolved issues.",
      "format": "int64",
      "readOnly": true,
      "type": "integer"
    },
    "self": {
      "description": "The URL of these count details.",
      "format": "uri",
      "readOnly": true,
      "type": "string"
    }
  },
  "type": "object",
  "xml": {
    "name": "version"
  }
}

Usage

from ocp_agent import OCPAgent

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

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