Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find a JIRA user by e-mail address with JIRA REST API

I'm using JIRA REST API for accessing JIRA from a third party application.

I'm trying to find whether a user account exists in JIRA for a particular e-mail address. The same is working for user name but not for e-mail address.

Could you please let me know how to do it? I have gone through this documentation.

like image 254
Reshma Raveendran Avatar asked Feb 01 '16 07:02

Reshma Raveendran


People also ask

How do I search for users in Jira?

To search for a particular person, type their first name and/or last name into the search box and choose Search. To see everyone who uses your Confluence site, choose All People. To see just those people who have set up a personal space, choose People with Personal Spaces.

How do I find the assignee Id in Jira using API?

You have to request the whole issue information. To do that, you have to know the JIRA Issue you want to have the assignee of. You will find it in "fields" -> "assignee".

How do I see sent emails in Jira?

Jira Settings > Products > Email Requests.


1 Answers

According to the document you linked, the REST call

api/2/groupuserpicker

searches by username OR email address.

parameter    type    description
------------ ------- --------------------------------------------------------
query        string  A string used to search username, Name or e-mail address

If it's not working with an email address then you should be submitting a support request to Atlassian.

like image 182
Jim Garrison Avatar answered Oct 09 '22 03:10

Jim Garrison