Script to get count of incident according to priority and display one latest incident for each priority.
I need a script for below requirement. The script should output the count of incidents for each priority. I was able to achieve this using the below script. var gra = new GlideAggregate('incident'); gra.addAggregate('COUNT', 'priority'); gra.que...