Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to fetch user information

Pradeep A July 15, 2021

Hi I would Like to fetch the email ID or their user name of the user who reports the issue 

How can I do it

3 answers

0 votes
Prashant Sultania
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.
August 23, 2021

Hello @Pradeep A 

Welcome to the Community 

If you move the mouse cursor towards the reporter's name in the Jira Issue, you will see the small pop-up window with userid and user's email id. 

Can you elaborate if the scenario is different? 

I hope this is what you are looking for, let me know.


Prashant Sultania

Note: Upvote, Like or Accept Answer if it resolves your query.

0 votes
Deniz Tımartaş July 30, 2021

For example, If you are using Azure AD, you have to define some additional information to be sent as (organization, department etc.)


Further information at:

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.
July 15, 2021

Hi @Pradeep A

Could you provide a little bit more information, i.e. which approach do you intend to use to get the Reporter's email address? Is it Post-Function, Listener or Script Console? 

If you intend to get a reporter's email address, you can even use the Script Console to do this.

Below is an example code for your reference:-

import com.atlassian.jira.component.ComponentAccessor

def issueManager = ComponentAccessor.issueManager
def issue = issueManager.getIssueByCurrentKey("SFFM-1")
def reporter = issue.reporter
log.warn "${reporter.emailAddress}"

Below is a print screen of the Script Console output:-


Thank you and Kind Regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events