Forums

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

REST API - missing user key in Reporter and Assignee fields

Phong Nguyen
Contributor
February 20, 2020

on 19-Feb-2020, in /rest/api/2/issue/{issueKey}/?expand=renderedFields, I can extract the user key from Reporter and Assignee fields.

today I cannot find the key anymore from the api result. I'm not sure if there is an update from JIRA API to hide the key of user or I'm messing it up somewhere.

I'm looking for the advice from experts on this site.

Many thanks in advance.

1 answer

0 votes
DPKJ
Community Champion
February 20, 2020

@Phong Nguyen  Please check you might be getting information like, 'accountId' now. Like this,

Screenshot 2020-02-20 at 3.21.08 PM.png

Phong Nguyen
Contributor
February 20, 2020

Thanks for your reply. :)

Previously, I based on user key to generate the email address. 

Even though I have the account id, I can't see the email address of another user. 

Is there a way to see the email address of other users?

Regards.

Like Phong Nguyen likes this
Phong Nguyen
Contributor
February 20, 2020

Many thanks.

I'll go through them now

Phong Nguyen
Contributor
February 23, 2020

hi @DPKJ,

The email address is not retrievable from the API regardless I'm using the admin account :( 

I have to get the email from a local file. 

Thanks for your sharing :) 

DPKJ
Community Champion
February 23, 2020

Your are welcome @Phong Nguyen , I will update this thread if I discover some other ways to deal with email ids.

Suggest an answer

Log in or Sign up to answer