Hi, everyone,
what does /rest/internal/2/user/mention/search do? I found in our jira, it search user related tables in db too much times.
The interface would pass param with maxResults=10, how can I reduce the number of maxResults in search?
When a user in Jira is writing up a description or comment on an issue, it is possible for them to start a new word with the @ symbol. When users do this, if they have permissions to search user objects in Jira, then for each letter they type after this, the rest endpoint can be called to search for user accounts that match the letters entered.
Once the user selects the username they want, when they post this comment, it tends to send an additional notification to that mentioned user to make them aware of a particular issue in Jira.
If you have a large userbase, I could see how this could create a very large number of rest call as users search for that particular user.
So far I have not found a way to configure the maxresults returned here. This is actually a private rest endpoint, meaning it is not publicly documented, and it can change it's behavior between Jira versions.
It might be possible to configure this by modifying the Jira source code, but compiling Jira again from source is not a trivial task.
How many users do you have in Jira?
What version of Jira are you using?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.