Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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 picker error when trying to assign a user to a field such as "Assignee"

Edited

Whenever I try to assign a ticket to a person from the drop down menu, it throws an error:

"The Jira server was contacted but has returned an error response. We are unsure of the result of this operation"

 

From the logs

/rest/api/latest/user/assignable/multiProjectSearch [c.a.jira.permission.DefaultIssueUserSearchManager] Requested top N=200 and is greater then max top allowed: 100

 

How do I go about updating the requesting number from 200 to 100. It seems like whenever I try to assign an issue to a person, it is pooling more users than it can hold. 

 

Using jira 8.22.6 

1 answer

0 votes
Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 27, 2023

@Abhinash Pathak


I found this KB which may be of use in your scenario. Can you please review and try the solutions outlined in the article?

 

Thanks,

Kian

Thank you for your quick response. 

 

Yes I have seen that article and tried its workaround. However, that did not really work. The first method was making smaller groups, I don't think that is feasible in my situation. The second method, increase the number of groups to look through. That is not my problem, as its there are more users in a group than is allowed to be showen in the drop down. 

Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 27, 2023

@Abhinash Pathak,

 

That error lines up perfectly with what is shown in the KB. Is there are second line that shows similar to the following:

2022-06-10 13:29:39,626+0300 http-nio-8080-exec-9 WARN XXXXXXX 809x316882x1 163rd3u XX.XXX.XXX.XXX /rest/api/latest/user/assignable/multiProjectSearch [c.a.j.crowd.embedded.QueryDslJiraCrowdDAO] JiraCrowdDAO#findTopUsersWithNameInGroups: the results of the search might be incomplete due to too many groups. Number of groups: 1436, batch size: 1000, number of batches: 2. Allowed number of batches: 1.Learn more: https://confluence.atlassian.com/x/QBrSQ

Nope, here is the error logs.

 

2023-09-27 17:03:20,508-0400 http-nio-8080-exec-6 WARN jira-user 1023x131x2 12bm4ip 10.3.11.134,10.6.0.194 /rest/api/latest/user/assignable/multiProjectSearch [c.a.jira.permission.DefaultIssueUserSearchManager] Requested top N=200 and is greater then max top allowed: 100. Enable trace logging to see stack trace.
2023-09-27 17:03:21,619-0400 http-nio-8080-exec-6 ERROR jira-user 1023x131x2 12bm4ip 10.3.11.134,10.6.0.194 /rest/api/latest/user/assignable/multiProjectSearch [c.a.j.rest.exception.ExceptionInterceptor] Returning internal server error in response
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker.lambda$_dispatch$0(DispatchProviderHelper.java:181)
... 4 filtered
at com.atlassian.jira.rest.exception.ExceptionInterceptor.intercept(ExceptionInterceptor.java:55)
... 1 filtered
at com.atlassian.jira.rest.v2.issue.scope.RequestScopeInterceptor.intercept(RequestScopeInterceptor.java:39)
... 15 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:162)
....
Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 28, 2023

Have you tried increasing the number of batches?

Yes I have. Do you know any other related JVM arguments that are similar to the number of batches. 

Suggest an answer

Log in or Sign up to answer