I have the situation that I want to completely purge all links under "Issue Links" for an issue. So far I only found code snippets on how to handle links to other issues, but I wonder how the groovy code must look like if I also want do delete links to external URLs and confluence pages. Is there an easy way to just "null" it?
I found a few community answers that has some sample groovy script on it:
I was able to get the removeRemoteIssueLink function from the first post to work.
If you ever need to completely delete all issue links this is the code that works for me (inside an Automation rule)
// remove jira links
// remove external links
def rilm = ComponentAccessor.getComponentOfType(RemoteIssueLinkManager.class)
Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their Jira Cloud instance. ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events