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
TAGS
atlassian, jira service management, jsm webinar, ai in jsm, opsgenie integration, incident management, virtual agent, atlassian intelligence, ai-powered service desk, it operations, atlassian learning, service management webinar, team '25 recap

What’s new in Jira Service Management 🤔

Discover how Atlassian is revolutionizing service management with cutting-edge solutions for AI-powered support, HR Service Management, or DevOps connectivity.

Register here ⬇️
AUG Leaders

Atlassian Community Events