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

getProjectProperty

Get project property

Details

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

Parameters

{
  "projectIdOrKey": {
    "description": "The project ID or project key (case sensitive).",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "propertyKey": {
    "description": "The project property key. Use [Get project property keys](#api-rest-api-3-project-projectIdOrKey-properties-get) to get a list of all project property keys.",
    "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('getProjectProperty', {
    # Add required parameters here
})