We have a requirement where the user must be forced to enter a comment whenever there is a change in Fix Version Field. We are able to achieve this using following simple scripted validator
originalIssue.fixVersions == issue.fixVersions || transientVars["comment"]
However , this will force the user to enter the comment even though the value is entered for the first time which is not what we are looking for.
It should not ask the user to input the comment if he is providing the value for the first time. It should only force the comment when the value is changed , (i.e value is changed from "Version1" to "Version2" or "Version1" to "Version2 , Version3" etc but NOT from "None" to "Some Version")
Can you suggest any solution?
Note : We are working on "Transition Screen".
Thank you!