We have two JIRA server systems, one is for internal use and the other one is for partners, sometime we would like to stop synchronizing the issue to partner JIRA but we want the issue also to be removed from remote JIRA and not only stop the synchronization.
Answer by Francis Martens (Exalate) on 05 August 2020
Hi last knight
You could use the ExalateEventListener.groovy external script to listen for the unexalate event and perform the deletion.
There are some examples in there how you can construct the script, but we never tried to delete an issue.
I would never do this delete myself, but rather change the issue security level of the issue such that it is obfuscated for the partner.