I want to be able to use the contents of a drop down field to populate another drop down field in the same issue on transition using custom script post-function in Script Runner:
If field A contains "Option 1", "Option 2", "Option 3", "Option 4", "Option 5", "Option 6", "Option 7", "Option 8", "Option 9" or "Option 10" then field B should be set to "Updated". If field A contains none of these options, field B remains unchanged.
I have tried a number of options using code I have found in different posts but nothing seems to work. Can anyone help me with this please?