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,552,634
Community Members
 
Community Events
184
Community Groups

Set user picker field based on text field

Sam Bartolome
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.
May 21, 2023

Hi,

We would like to populate a user picker field like assignee or similar field based on free text field.

The free text field has the full name or display name of our users.

We have scriptrunner and are struggling to set this up

 

We have tried to use this approach with no luck, https://community.atlassian.com/t5/Jira-Software-questions/How-to-get-the-username-of-a-user-from-a-string-that-is-the-full/qaq-p/1393766

 

Thanks

 

Sam 

2 answers

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 22, 2023

Hi @Sam Bartolome

Could you please provide a little more information, i.e. when would you like to populate the Assignee field?

Is it on the Create screen via Behaviour or are you trying to do this via Listener or Post-Function?

Kindly provide this information, and I will try to provide an example code.

Thank you and Kind regards,

Ram

0 votes
mgokhan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 22, 2023

Hi,
Full name or display name is not uniqe definer. so you can reach user id but it will not permanent solution in long term.


Suggest an answer

Log in or Sign up to answer