Hi @Karthik Reddy can I ask why do you want to use Script Runner? There is AUtomation on CLoud by default, so you can achieve required behaviour quite easilly with it. COnfiguration could be something like:
Where "Priority" is YOUR select list custom field.
GIve me more information in case you want to discuss the solution, please.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events