Forums

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

Sript Runner script for user picker.

Vladimir Sid
Contributor
January 11, 2018

I would need your suggestion on how to write the scripted field or a code snippet or template for user picker (for example user) and return the result user's full name. Thank you.

1 answer

1 vote
Nic Brough -Adaptavist-
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.
January 11, 2018

I don't usually do code, as it's better for people to learn for themselves, but in this case, it'll probably help you to see the raw code!

issue.getCustomFieldValue(customFieldManager.getCustomFieldObjectByName("user picker field name")).getDisplayName()

 

Suggest an answer

Log in or Sign up to answer