Do you have any issue merger api for ticket duplication avoid purpose

Hi Team,
Do you have any Merger API in jira.I want merge api.it result leads to auto close all the duplicate tickets with excluding the manatory fields and link all the primary ticket with duplicate ticket