We have Script Runner 18.104.22.168, using it to send a custom email to users but the users are receiving 3 or 4 of the same email for the same ticket.
Nothing in the Notification Schemes is triggering secondary emails.
I need this to stop as it is causing some confusion for the users.
Is this an issue with ScriptRunner?
It sounds like whatever is in script runner is in addition to what the notification scheme would do. Did anyone modify either the notification scheme or script runner. If you don't know I'd start by turning script runner off.
There is way too much functionality with Script Runner to turn it off and there isn't a separate Test environment.
The Notification scheme has no recipients for the event that triggers the custom email.
Any other suggestions? Unless you know how to turn off just parts of script runner.
I assume you're using the Send custom email post function in one of your workflows.
Several questions to help debug this:
The emails are identical. The logs in the script listener only show the listener being triggered once. The outgoing mail log shows the email being sent multiple times but I haven't found why so many are being sent.
The emails are listening for a custom event that is only used once in one workflow.
The custom event is only in that one transition and the listener isn't listening for any other events.
Think you could share your listener's configuration and the configuration of your workflow? If the listener is only firing once, it could be that the same email address is getting included multiple times via the To Addresses, To Issue Fields, CC fields, etc.
It could prove helpful, yeah.
Another thing to test is whether other methods of sending emails outside of ScriptRunner send multiple messages as well. If so, then it may be an issue with your Mail Server settings in JIRA itself, not the post function.
Hey team! I'm Cameron Deatsch, Head of Server at Atlassian. At our European Summit just a few weeks ago, I spoke about the latest regarding our Server and Data center products and o...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs