There are no built-in script functions for priority changes in JIRA. Do you mean one of the scripting add-ons? (If so, which one? Also, versions would be handy and a note of which docs are you following?)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.