How to get task sla data on an incident email notification

rosa8
Mega Contributor

I just received a request to add the business time left to all email notifications that go to the assigned user and assignment groups.
The emails contain the majority of the information included on the incident form. Is there a way using a mail script to pull the information from the incident/sla table?

6 REPLIES 6

Hello, in 2020 this works very well 😃

Can we able to fetch data only for the SLA, not for the KPI? When I tried this script, if the ticket with multiple SLAs, and KPIs at that time it is showing all days. For eg: 5 days 5 hours 20 minutes 0 seconds 6 days 5 days.