Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Creating a custom Checkbox field with multiple columns with scriptrunner


I have found this script floating around on mulitple to solve the issue of creating multiple columns for a custom checkbox field. I have run it in the description and it does not appear to anything and when I run it in the script runner console it shows errors in the code. Has the way the code needs to be written changed?

<script language="javascript">
Array.from(document.body.getElementsByClassName("checkbox")).forEach(function (cbox) {
if (cbox.getAttribute('name')=='customfield_#####') {'left';'20%';

1 answer

1 accepted

1 vote
Answer accepted

Figure out my answer. 


Enable HTML in descriptions was turned off under System

Suggest an answer

Log in or Sign up to answer

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