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 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