The priority matrix can be used to set the ticket priority automatically based on the impact and urgency fields. You will have to navigate to Admin>Priority matrix and turn the toggle on. Once its turned on your tickets will get updated with priority automatically.