Forums

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

How to retrieve email address using scripted field in script runner

VF
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 19, 2016
 

1 answer

0 votes
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.
May 19, 2016

You can simply use user.getEmailAddress() - but you'll need to think about where to get the user object from.

VF
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 19, 2016

We want email address of the requester from the service desk portal. I don't have much idea of scripting. Basically based on domain name of the email address we want to classify service desk customers

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.
May 19, 2016

Mmm, I don't actually know how to get to the requestor of an issue off the top of my head.

  issue.getReporter() should get the reporter, but I'm not sure that's the same thing.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events