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
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
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