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

createAssociations

Create associations

Details

  • Method: PUT
  • Path: /rest/api/3/field/association
  • Operation ID: createAssociations

Parameters

{
  "associationContexts": {
    "description": "Contexts to associate/unassociate the fields with.",
    "required": true,
    "location": "body",
    "type": "array"
  },
  "fields": {
    "description": "Fields to associate/unassociate with projects.",
    "required": true,
    "location": "body",
    "type": "array"
  }
}

Response Schema

{}

Usage

from ocp_agent import OCPAgent

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

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