How to change the logic of calculating incident priority?