Hi
I am struggling to retrieve the value of a radio button using scriopt in the derscription field. What is the correct way to retrieve the selected radio button value.
Thanks,
Lakshmi
Which version of JIRA? Also,are you runnig the script inside of the workflow (post-function)?
Hi Lak,
here your javascript code
jQuery(document).ready(function($) { var value = jQuery("#customfield_10200-val").text().trim(); console.log(value); })
Keep in mind that you have to use the correct Custom Field Id (10200 is the id in my instance).
Hope this helps,
Fabio
Thanks Fabio. I will try and let you know.
It looks like you're new here. Sign in or register to get started.