Forums

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

Jira rest api not listing email address of the user

Thyagaraj Gopalakrishna August 22, 2019

Is there a way I can get assignee email address from the issue details or user details?

rest/api/2/issue/issue-6659
rest/api/2/user/search?username=user1

 

I have been reading about the public visibility of the contact email address. 

Screen Shot 2019-08-22 at 1.41.50 PM.png

  • Does everyone should set their email visibility to Anyone to get mail address from issue/user details?.
  • If yes, is there a way where admin can update all the users mail visibility to Anyone by api or some other way? 

 

 

1 answer

0 votes
Thomas Magny-Garcia
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 22, 2019

Hi @Thyagaraj Gopalakrishna ,
I think with the query

rest/api/latest/search?jql=key%3DXXX-12345

you can expend the assignee field and get the info like :
Capture.PNG

You can find the display name and the mail address.

I don't know about the privacy visibility and I don't know the primeter of this privacy and it is a good question...

Hope it helps !

Thyagaraj Gopalakrishna August 22, 2019

Thanks for replying. Actually this is not working for me, the user mail id is not listing for any user. Looks like something to do with the privacy visibility

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events