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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to get reporter name with API call

I want to extract reporter name using REST API.

GET http://localhost:8080/rest/api/2/issue/awd-1?fields=reporter

 If I used command above I get the following extract:

  "expand": "renderedFields,names,schema,transitions,operations,editmeta,changelog",
  "id": "10000",
  "self": "http://localhost:8080/rest/api/2/issue/10000",
  "key": "AWD-1",
  "fields": {
    "reporter": {
      "self": "http://localhost:8080/rest/api/2/user?username=username",
      "name": "username",
      "emailAddress": "",
      "avatarUrls": {
        "16x16": "http://localhost:8080/secure/useravatar?size=small&avatarId=10122",
        "48x48": "http://localhost:8080/secure/useravatar?avatarId=10122"
      "displayName": "User Name",
      "active": true

Now I want to get the reporter name from extract above. 

1 answer

0 votes

You can use below code :

httpClient.get(`rest/api/3/issue/${res.req.query.issueKey}`, function (err, response, body)


  let get_reporter_data = JSON.parse(body);

let displayName = get_reporter_data.fields.reporter.displayName;

console.log("reporter Name is ",displayName);


How to get reporter's email address?
I am not getting email address from above API?


Can you please do help me on this?

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you