Don't have Telegram yet? Try it now!
https://mraddon.blog/2016/06/09/calculate-the-sla-with-scripted-field-in-scriptrunner-for-jira/
Calculate the SLA with Scripted Field in ScriptRunner for JIRA