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

How to enable order of multi user picker


I have a custom field as multi user picker. I set users into it.

when I use scriptRunner to get the user list, it's not the order as I set them.

is there anyway to get the list in an order as I added them?

here's the code to get the custom field value as an arrayList. the result returned is not in the order I added them

def userManager = ComponentAccessor.getUserManager()
def userList = issue.getCustomFieldValue(cf) as ArrayList



0 answers

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events