I am doing an integration process to create project into Jira 6.0 application. One of the project field requires the username/owner value. The application from which the integration triggers outputs email address. I need to query JIRA to find the username corresponding to this email address. I read about the below URI that takes username as the parameter. (below)
But really my parameter here is email address for which i need username as the output. Does JIRA support something like this
How to access username using Jira's REST API?
I was able to retrieve the username of a given user using JIRA's REST API:
Where "email@example.com" is the email address of a given user.
Even if you provide the email address of a user, you need to use the "username" parameter in the URL.
Hope this helps.
Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs