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

updateRemoteIssueLink

Update remote issue link by ID

Details

  • Method: PUT
  • Path: /rest/api/3/issue/{issueIdOrKey}/remotelink/{linkId}
  • Operation ID: updateRemoteIssueLink

Parameters

{
  "issueIdOrKey": {
    "description": "The ID or key of the issue.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "linkId": {
    "description": "The ID of the remote issue link.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "application": {
    "description": "Details of the remote application the linked item is in. For example, trello.",
    "required": false,
    "location": "body",
    "type": "string"
  },
  "globalId": {
    "description": "An identifier for the remote item in the remote system. For example, the global ID for a remote item in Confluence would consist of the app ID and page ID, like this: `appId=456&pageId=123`.\n\nSetting this field enables the remote issue link details to be updated or deleted using remote system and item details as the record identifier, rather than using the record's Jira ID.\n\nThe maximum length is 255 characters.",
    "required": false,
    "location": "body",
    "type": "string"
  },
  "object": {
    "description": "Details of the item linked to.",
    "required": true,
    "location": "body",
    "type": "string"
  },
  "relationship": {
    "description": "Description of the relationship between the issue and the linked item. If not set, the relationship description \"links to\" is used in Jira.",
    "required": false,
    "location": "body",
    "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('updateRemoteIssueLink', {
    # Add required parameters here
})