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

getProjectPropertyKeys

Get project property keys

Details

  • Method: GET
  • Path: /rest/api/3/project/{projectIdOrKey}/properties
  • Operation ID: getProjectPropertyKeys

Parameters

{
  "projectIdOrKey": {
    "description": "The project ID or project key (case sensitive).",
    "required": true,
    "location": "path",
    "type": "string"
  }
}

Response Schema

{
  "additionalProperties": false,
  "description": "List of property keys.",
  "properties": {
    "keys": {
      "description": "Property key details.",
      "items": {
        "additionalProperties": false,
        "description": "Property key details.",
        "properties": {
          "key": {
            "description": "The key of the property.",
            "readOnly": true,
            "type": "string"
          },
          "self": {
            "description": "The URL of the property.",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "readOnly": true,
      "type": "array"
    }
  },
  "type": "object"
}

Usage

from ocp_agent import OCPAgent

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

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