|Constructor and Description|
|Modifier and Type||Method and Description|
Calculates a list of users that are relevant to the issue so that they can be mentioned
public List<UserIssueRelevance> findRelatedUsersToMention(String query, Issue issue, ApplicationUser requestingUser, int maxResults)
query- 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-2019 Atlassian. All Rights Reserved.