Duplicate Email Notifications From Jira Rest API

There is a known bug in the Jira Rest API issue notify endpoint. We have raised this with Atlassian here. We have customers complaining of receiving duplicate emails unexpectedly, any chance somebody could take a look and fix it please?