Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,560,061
Community Members
 
Community Events
185
Community Groups

How can I load a multi select custom user field with multiple values

I have a custom field called business approver and it is a user picker multi user.  I load the approvers based on the business function selected and it works great when there is one approver.  When I need to load three approvers in to the approvers field, I can't get it to work.

 

Is there a way through Behaviours to do this?  The below works for a single user.  If I try to a second user, it does not work.  It is just blank.  

if (dropDownValue == "Business Strategy and Development")
{
approvers.setFormValue("211111111")
}

1 answer

0 votes
Jia Jie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 30, 2021

Hi Richard,

Are you trying to set the User Picker (Multiple users) with multiple values?

I've tried the script below and it works great (I've 3 usernames in my Jira: "carmen", "david" and "sim"):

if (dropDownValue == "Apple")
{
approvers.setFormValue("carmen, david, sim")
}

 Hope this helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events