When a ticket is being transitioned in service desk from one queue to another, we have transitions created in a custom workflow that is supposed to trigger a script post function, that should send a custom email. No matter what we do it never triggers. The ticket moves queues... but like now the Script Post Function will always say "never run". I've talked to two consulting firms that couldn't give me an answer on why it wasn't working... SHOULD the post function fire for service desk queue moves like it does elsewhere? Could you provide some help?
Thanks,
Tim
Also worth turning debug logging on to see whats happening when you do the transition: https://scriptrunner.adaptavist.com/latest/jira/getting-help.html#_support_requests
What happens when you do this from JIRA rather than service desk, does the post function fire?
If it doesn't then there may be an issue with how you have configured the email post function. Can you try changing it to a simple one, just put "Hello" as text for the body and templates and see if that works.
Do you see any messages in the logs?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.