I need to remove a link from an issue using automation, and I prefer not to use Jira plug-ins to do that. I have found some documentation that explains how to add a link using Json.
https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/
{"update": { "issuelinks": [ { "add": { "type": { "name": "Relates" }, "outwardIssue": { "key": "{{issue.key}}" } } } ] } }
Can I use similar Json to remove a link - would this work?
{"update": { "issuelinks": [ { "remove": { "type": { "name": "Relates" }, "outwardIssue": { "key": "{{issue.key}}" } } } ] } }
Thanks, sam