Example: Make "Affects Version/s" mandatory when issue resolution is "Fixed"
You can implement using Validaton based on regular expression. You have to use a validator in transition "Close" and "Resolve" using the following configuration:
Text to be parsed is:
%{00028}@%{00077}
^Fixed@S
Once configured, transition will look like this: