Similar question was asked in this thread, https://answers.atlassian.com/questions/43534 before. But still hitting this issue after using the suggested answer,
<script type="text/javascript">
(function($){
new AJS.MultiSelect({
element: $("#customfield_XXXXX"),
itemAttrDisplayed: "label",
errorMessage: AJS.params.multiselectComponentsError
});
})(AJS.$);
</script>
Any ideas how to fix this? Any help will be appreciated.