Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

User picker error when trying to assign a user to a field such as "Assignee"

Abi September 27, 2023

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 Champion
September 27, 2023

@Abi


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

Abi September 27, 2023

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 Champion
September 27, 2023

@Abi,

 

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
Abi September 27, 2023

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 Champion
September 28, 2023

Have you tried increasing the number of batches?

Abi September 28, 2023

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