Forums

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

Get userEmail from the user-PickList (customfield) in ScriptRunner

tarakeswar_dubey June 13, 2019

Hi,

I'm looking to get Email of the user - here I'm getting value from the customField in script as 'FIRST LAST(FIRST_LAST) - whereas I'm trying to fetch the emailAddress of the user got from the customField.

def user12 = issue.getCustomFieldValue(customFieldManager.getCustomFieldObjectByName("QA Owner")).getDisplayName

 

1 answer

1 accepted

0 votes
Answer accepted
Payne
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.
June 13, 2019
tarakeswar_dubey June 13, 2019

Thanks Paynee. Seems though it was showing error- still that works.

Suggest an answer

Log in or Sign up to answer