You can use https://your-jira/rest/api/2/user/search?username=user@email.com
/api/2/user/search has parameter username which takes query string used to search username, name or e-mail address.
You can use this REST API to search user by email address.
Regards
Prakhar
Hi @Prakhar Srivastav {Appfire},
Thanks for your help. That worked. Is there a way to populate the reporter field using an email address?
The service now team will send the email address to a text field value in JIRA. Can we lookup for the email address and use the username as reporter field in JIRA?
Can we do with postfunctions for create issue transition in a workflow ? Copy field value from one field to other didnt work as the field types of email address and reporter are different. Let me know your thoughts.
Regards
Niran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Niranjan,
If you haven't succeeded in your efforts so far, you can checkout https://www.opshub.com/jira-integration/jira-servicenow-integration/. It's a integration tool listed on Atlassian Marketplace and can help you sync history, user data, audit trail, etc.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.