public interface MentionableUserSearcher
MentionService
to resolve circular dependencies.Modifier and Type | Method and Description |
---|---|
List<UserIssueRelevance> |
findRelatedUsersToMention(String searchString,
Issue issue,
ApplicationUser requestingUser,
int maxResults)
Calculates a list of users that are relevant to the issue so that they can be mentioned
|
List<UserIssueRelevance> findRelatedUsersToMention(String searchString, Issue issue, ApplicationUser requestingUser, int maxResults)
searchString
- the filter string to match the user, or role, againstissue
- the issue we are looking for users to mention on (to determine relevance)requestingUser
- what user is making the request, for authorisationmaxResults
- the maximum number of results that will be returned. We assume it has been validated before reaching here.Copyright © 2002-2021 Atlassian. All Rights Reserved.