public interface MentionableUserSearcher
MentionServiceto resolve circular dependencies.
|Modifier and Type||Method and Description|
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, against
issue- the issue we are looking for users to mention on (to determine relevance)
requestingUser- what user is making the request, for authorisation
maxResults- the maximum number of results that will be returned. We assume it has been validated before reaching here.
Copyright © 2002-2018 Atlassian. All Rights Reserved.