We have two fields. Owner Area and Merchant Owner Area. I need a script that will copy the merchant owner area value to owner area ONLY IF a value was selected in merchant owner area. I am little familiar with the simple scripted language you can use for ScriptRunner but I have idea where to start. Any help would be greatly appreciated !!!
Hi Brooke,
There are examples of groovy script all over Community and the web + on ScriptRunner documentation. That's a try-and-try-again approach you should have, the console will allow you to debug and if you have more specific questions we can definitely help!
You might want to start by getting the field value to check if it's empty or not, and then adjust the script to copy it over the second field.
Let us know if you have further questions!
Cheers
what is the command to copy over a value ? With the simple scripted language I know how check for a null value and I have written an if else script, but is that the best place to put it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.