Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

user/search/assignable endpoint returns incorrect results

Edited
Dima Zharyi J
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Sep 20, 2023

Hello!

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?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events