Calculate Due-Date with client-script

wac
Kilo Contributor

Hello again,

I am trying to set a due-Date based on the Priority:
1 = 4 hours
2 = 8 hours
3 = 16 hours
4 = 32 hours
5 = 1 week

the tricky part with 2, 3 and 4 is, that the buissiness hours should be taken into consideration.

Since the user should be able to correct the "default" settings I'd like to implement that feature with a clientscript wich gets called everytime the priority-fild changes.

Has anyone an idea on where to start? Or maybe someone has a differnt idea on implementing such a feature?

Thanks a lot,
Chris.

5 REPLIES 5

If you write your SLAs so that they have different START/STOP criteria, changing a P1 to a P2 should CANCEL the P1 and begin a P2.



We demonstrate this on the Sysadmin courses: changing the impact of a P3 incident to make it a P2 shows the existing SLA being cancelled and the P2 "taking over" (with retrospective start enforced).



Definitely what you're after is Service Level Management - you're trying to define a level of service based upon priority, so SLAs are the way forwards, rather than trying to duplicate functionality through scripting means.