I'd like to do something like what's mentioned in this ScriptRunner example. However, I want to do this in a transition screen. I've tried the code in the example, but it doesn't seem to work in transition screens. I'm assuming that behaviours can't execute groovy code on a form, which is what a transition screen likely behaves like, if there was no significant event, such as changing a value before submitting. That's what JavaScript is for. How would I go about using ScriptRunner or JavaScript to replicate that example in a transition screen?