How do I search user based on email id of user ? I tried using search API but that did not return results when I specified email address of user.
also how can I assign issue to a user using email ID (instead of login name ?)
thanks in advance !
It depends on where in jira you are searching for users. If you are in the User Management section of Jira you can search by email address. This is also something that could be searched on the REST API endpoint api/2/user-findUsers.
However it seems like you are trying to do this in the assignee field. In that case, Jira should be able to allow you to search for users either with name, username, or email address for this field. However when dealing with the assignee field we also have to content with the Jira permissions schemes: specifically there is a permission called Assignable User. If the username/email address you are looking for is not listed as an assignable user, then you won't be able to assign that issue to that user, nor will Jira show any results for an otherwise valid email string there. You can check the permission scheme in place by walking through the steps in Managing project permissions to better understand where this Assignable User permission is defined.
The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...
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