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?
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.
Delete each link — call DELETE /rest/api/3/issueLink/{linkId} for each one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.