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!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.