i have custom field Positions(single choice) and custom field Position Name(text field) when creating a task i want to have a ScriptRunner validator that will match the text in Position Name with those choice values in Positions if there is such a Position in Positions then the validator will work if no then it won't
how can I get all options from Positions and compare them to the text that was in Position Name