Open Context Protocol is live! 🚀 Read the launch post

mergeVersions

Merge versions

Details

  • Method: PUT
  • Path: /rest/api/3/version/{id}/mergeto/{moveIssuesTo}
  • Operation ID: mergeVersions

Parameters

{
  "id": {
    "description": "The ID of the version to delete.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "moveIssuesTo": {
    "description": "The ID of the version to merge into.",
    "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('mergeVersions', {
    # Add required parameters here
})