In one of my JSM project, I have a Urgency field with values critical, high, medium, low.
when urgency = critical i want to set priority to critical
urgency = high i want to set priority to critical
urgency = medium i want to set priority to medium
urgency = low i want to set priority to low
NOTE; We have ScriptRunner