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

setProjectProperty

Set project property

Details

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

Parameters

{
  "projectIdOrKey": {
    "description": "The project ID or project key (case sensitive).",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "propertyKey": {
    "description": "The key of the project property. The maximum length is 255 characters.",
    "required": true,
    "location": "path",
    "type": "string"
  }
}

Response Schema

{}

Usage

from ocp_agent import OCPAgent

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

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