public class MentionResource extends Object
Constructor and Description |
---|
MentionResource(EmailFormatter emailFormatter,
I18nHelper.BeanFactory beanFactory,
IssueFinder issueFinder,
JiraAuthenticationContext authContext,
JiraBaseUrls jiraBaseUrls,
MentionableUserSearcher mentionableUserSearch,
TimeZoneManager timeZoneManager,
AvatarService avatarService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
search(String query,
String issueKey,
Integer maxResults)
Returns a list of users who are relevant to the issue and match the query
string.
|
public MentionResource(EmailFormatter emailFormatter, I18nHelper.BeanFactory beanFactory, IssueFinder issueFinder, JiraAuthenticationContext authContext, JiraBaseUrls jiraBaseUrls, MentionableUserSearcher mentionableUserSearch, TimeZoneManager timeZoneManager, AvatarService avatarService)
public javax.ws.rs.core.Response search(String query, String issueKey, Integer maxResults)
query
- The username filter, no users returned if left blankissueKey
- The issue key for the issue being edited we need to find viewable users for.maxResults
- The maximum number of users to return (defaults to 50). The maximum allowed value is 1000.Copyright © 2002-2019 Atlassian. All Rights Reserved.