I accidentally linked 100 items to my ticket. I was unable to remove these links using mcp server. My claude cli was adamant that it was unable to unlink these and I had to do it manually. Is there a way to unlink work items using the mcp server?
Hi @Thomas Nielsen
The MCP toolset currently supports creating links but doesn't expose a dedicated "remove link" action. So your CLI agent wasn't wrong — it genuinely doesn't have the capability to do it through the MCP channel right now.
The current workaround would be to use the Jira REST API
Get the link IDs — call GET /rest/api/3/issue/{issueKey} and look at the fields.issuelinks array. Each entry has an id field.
GET /rest/api/3/issue/{issueKey}
fields.issuelinks
id
Delete each link — call DELETE /rest/api/3/issueLink/{linkId} for each one.
DELETE /rest/api/3/issueLink/{linkId}
It looks like you're new here. Sign in or register to get started.