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
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.
Join now to unlock these features and more
I encountered one issue using user/search/assignable endpoint (Jira Cloud). When the parameter "query" consists of more than one word I recieve all results for the each word. For example I have 50k users and there is a user Will Harry. I need to search a user by query "Will Harry" and it will return all possible results for "Harry" and all for "Will" and the number of returned users is 300 (there are a lot of users Harry... and Will...). The first point is that I can't render on my app all 300 results and the second I need to get the original user Will Harry. I can filter received results by the initial query but another problem is that Harry Will could be the Public Name in his Jira account and nickname-harry as the Full Name (displayName field in the Jira response) and as I know Jira searches and returns results by the Public Name and the Full Name as well - in this case I will have only displayName nickname-harry and filtering will be incorrect because the original query is "Will Harry".
On the Jira Server the same endpoint has parameter "username" and it works pretty well and returns exact match of the query "username=will%20harry".
Is there any solution how can I search for exact match of the query in Jira Cloud?