Hi all,
My question is about displaying check box options in multiple columns to better able to fit longer list on the request form within Jira Service Management.
We had previous been able to do this by placing the following Java script into the custom field description.
<script language="javascript">
AJS.$(document).ready(function(){
Array.from(document.body.getElementsByClassName("checkbox")).forEach(function (cbox) {
if (cbox.getAttribute('name')=='customfield_10201') {
cbox.parentNode.style.cssFloat='left';
cbox.parentNode.style.width='25%';
}
});
});
</script>
After upgrading from Jira Service Desk 4.5.0 and Jira Core 8.5.0 to Jira Service Management 4.20.1 and Jira Core 8.20.1, the Java script does not appear to work.
Any pointers on how to change the java script or achieve the same results a different way would be greatly appreciated.