linkIssues
Create issue link
Details
- Method:
POST - Path:
/rest/api/3/issueLink - Operation ID:
linkIssues
Parameters
{
"comment": {
"description": "A comment.",
"required": false,
"location": "body",
"type": "object"
},
"inwardIssue": {
"description": "The ID or key of a linked issue.",
"required": true,
"location": "body",
"type": "object"
},
"outwardIssue": {
"description": "The ID or key of a linked issue.",
"required": true,
"location": "body",
"type": "object"
},
"type": {
"description": "This object is used as follows:\n\n * In the [ issueLink](#api-rest-api-3-issueLink-post) resource it defines and reports on the type of link between the issues. Find a list of issue link types with [Get issue link types](#api-rest-api-3-issueLinkType-get).\n * In the [ issueLinkType](#api-rest-api-3-issueLinkType-post) resource it defines and reports on issue link types.",
"required": true,
"location": "body",
"type": "object"
}
}Response Schema
{}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('linkIssues', {
# Add required parameters here
})