Hi,
I want to check only one checkbox at a time out of the two, can someone help me how to implement this in javascript in field description. Currently I am using Jira 8.13.4 jira dc edition.
<script>
$(document).ready(function(){
$('input:#customfield_13266-1,#customfield_13266-2').click(function() {
$('input:#customfield_13266-1,#customfield_13266-2').not(this).prop('checked', false);
});
});
</script>
The script above worked before but after the upgrade to jira 8.13.4 its not working.
Are you trying to prevent multiple checkboxes from being selected. If that is the case why not just use the radio button custom field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.