Service Desk Script Post Function Email not sending on transition

Tim Mosbach April 12, 2016

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

2 answers

0 votes
adammarkham
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 13, 2016

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

0 votes
adammarkham
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 13, 2016

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?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events