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

bulkSetIssueProperty

Bulk set issue property

Details

  • Method: PUT
  • Path: /rest/api/3/issue/properties/{propertyKey}
  • Operation ID: bulkSetIssueProperty

Parameters

{
  "propertyKey": {
    "description": "The key of the property. The maximum length is 255 characters.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "expression": {
    "description": "EXPERIMENTAL. The Jira expression to calculate the value of the property. The value of the expression must be an object that can be converted to JSON, such as a number, boolean, string, list, or map. The context variables available to the expression are `issue` and `user`. Issues for which the expression returns a value whose JSON representation is longer than 32768 characters are ignored.",
    "required": false,
    "location": "body",
    "type": "string"
  },
  "filter": {
    "description": "The bulk operation filter.",
    "required": false,
    "location": "body",
    "type": "string"
  },
  "value": {
    "description": "The value of the property. The value must be a [valid](https://tools.ietf.org/html/rfc4627), non-empty JSON blob. The maximum length is 32768 characters.",
    "required": false,
    "location": "body",
    "type": "string"
  }
}

Usage

from ocp_agent import OCPAgent

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

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