Synchronize attachment deletions

Hi, I’m trying to update the attachments from one side to another, this is done, but now what I need is that if an user remove something from serviceNow, it will removed from Jira and viceversa. The Support team is telling me that it is not a native function from exalate and that I need a custom script I’ve trying some but no luck, could you help me with this?