Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Displaying Checkbox Options in Columns (Broken due to upgrade).

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.

2 answers

2 accepted

0 votes
Answer accepted

I found the answer to my own question.  I had to go into settings and turn the following setting back on.  It must have been turned off by the upgrade.

Screenshot 2021-11-23 075500.png

0 votes
Answer accepted

I found the answer to my own question.  I had to go into settings and turn the following setting back on.  It must have been turned off by the upgrade.

Screenshot 2021-11-23 075500.png

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,599 views 20 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you