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
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
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried increasing the number of batches?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes I have. Do you know any other related JVM arguments that are similar to the number of batches.
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.