Jira version 8.20.1
Script runner version6.56.0
I want to check on a value of a customfield and throw a message if the value is not valid and not allow transition to the next state. i know I can put a validator on a transition but I do not want the user to be able to put a invalid value in that custom field in between state changes. Is there a way to validate the value when transitioning to a certain state and not allow an invalid value between state changes using script runner