Hello,
anybody have an example of how set a value of radio button with for example the value boat - road - sea and set a value during a transition using groovy (script runner) ?
Thank you !
There's a trick here - radio-buttons and check-boxes are just different representations of single-select and multi-select lists. All four are select lists in the database, so the code for reading and setting them is the same!
I find this a useful bookmark - https://library.adaptavist.com/entity/update-the-value-of-custom-fields-through-the-script-console
It's a script that shows us how to set all the standard types of custom field, you should be able to extract the radiobutton one from it quite easily!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.