The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable order of multi user picker

jane chen
Contributor
February 16, 2020

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question