getRemoteIssueLinks
Get remote issue links
Details
- Method:
GET - Path:
/rest/api/3/issue/{issueIdOrKey}/remotelink - Operation ID:
getRemoteIssueLinks
Parameters
{
"issueIdOrKey": {
"description": "The ID or key of the issue.",
"required": true,
"location": "path",
"type": "string"
},
"globalId": {
"description": "The global ID of the remote issue link.",
"required": false,
"location": "query",
"type": "string"
}
}Response Schema
{
"additionalProperties": false,
"description": "Details of an issue remote link.",
"properties": {
"application": {
"allOf": [
{
"$ref": "#/components/schemas/Application"
}
],
"description": "Details of the remote application the linked item is in."
},
"globalId": {
"description": "The global ID of the link, such as the ID of the item on the remote system.",
"type": "string"
},
"id": {
"description": "The ID of the link.",
"format": "int64",
"type": "integer"
},
"object": {
"allOf": [
{
"$ref": "#/components/schemas/RemoteObject"
}
],
"description": "Details of the item linked to."
},
"relationship": {
"description": "Description of the relationship between the issue and the linked item.",
"type": "string"
},
"self": {
"description": "The URL of the link.",
"format": "uri",
"type": "string"
}
},
"type": "object"
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('getRemoteIssueLinks', {
# Add required parameters here
})