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

getAccessibleProjectTypeByKey

Get accessible project type by key

Details

  • Method: GET
  • Path: /rest/api/3/project/type/{projectTypeKey}/accessible
  • Operation ID: getAccessibleProjectTypeByKey

Parameters

{
  "projectTypeKey": {
    "description": "The key of the project type.",
    "required": true,
    "location": "path",
    "type": "string",
    "enum": [
      "software",
      "service_desk",
      "business",
      "product_discovery"
    ]
  }
}

Response Schema

{
  "additionalProperties": false,
  "description": "Details about a project type.",
  "properties": {
    "color": {
      "description": "The color of the project type.",
      "readOnly": true,
      "type": "string"
    },
    "descriptionI18nKey": {
      "description": "The key of the project type's description.",
      "readOnly": true,
      "type": "string"
    },
    "formattedKey": {
      "description": "The formatted key of the project type.",
      "readOnly": true,
      "type": "string"
    },
    "icon": {
      "description": "The icon of the project type.",
      "readOnly": true,
      "type": "string"
    },
    "key": {
      "description": "The key of the project type.",
      "readOnly": true,
      "type": "string"
    }
  },
  "type": "object"
}

Usage

from ocp_agent import OCPAgent

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

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