You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I need to search for a user. And im doing that by search with a email using :
GET /rest/api/2/user/search?query={email}
I get the error "The parameter 'username' is not supported". I'm not even passing the username here. Is the query param not supported for JIRA server and only for JIRA Cloud?
If so, with username not supported, how as a JIRA Server api can I search for a user?
Hi @Anushaath ,
to search for a user by email, you need this one following the info here:
baseurl/rest/api/2/user/search?username="email@adres.com"
If you want to use the one above with "query", you can use:
baseurl/jira/rest/api/2/user/picker?query="email@adres.com"
Hope this helps!
Thank you @Tessa Tuteleers that's awesome. So email can be sent to the 'username' field to fetch the user too.
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.