Fix an issue where tickets with priorities other than minor, major, critical or blocker would cause the formatted priority to be undefined