Client Script
OnLoad Tasks
1. When the Incident form loads, set the State field to New.
2. When a new Incident form opens, display a message at the top of the form:
“Please fill all mandatory fields before submitting.”
3. On form load, make the Assignment Group field read-only.
4. When a new Change Request form opens, automatically set Risk = High.
OnChange Tasks
1. In the Incident form, when the Category = Software, set **Priority = 2 (High)*.
2. When the Urgency field changes to 1 (High), automatically set Impact = 1 (High).
3. In the Incident form, if Category = Hardware, make the Configuration Item
(cmdb_ci) field visible; otherwise hide it.
4. When the Short Description field is updated, show a field message:
“Thanks for providing the details.”