actions hooked to ticket create and update.