If the issue already linked than we call rest API /rest/api/2/issueLink at that time issue link created again this issue facing in Jira server, not for cloud.
Is there any parameter that needs to pass for the server so duplicate links not created.