Slava Savitsky
Giga Sage

Priority in incidents is determined by the combination of Impact and Urgency. This logic is configured in priority lookup rules. In your script, try also setting impact and urgency values that correspond to priority 4.