Class EpicPickerServiceImpl
java.lang.Object
com.atlassian.greenhopper.service.issuelink.EpicPickerServiceImpl
- All Implemented Interfaces:
EpicPickerService
-
Constructor Summary
ConstructorsConstructorDescriptionEpicPickerServiceImpl
(IssueTypeService issueTypeService, EpicCustomFieldService epicCustomFieldService, EpicLabelProviderImpl epicLabelProvider, I18nFactoryService i18nFactoryService, com.atlassian.jira.search.issue.IssueDocumentSearchService issueDocumentSearchService, com.atlassian.jira.issue.IssueFactory issueFactory) -
Method Summary
Modifier and TypeMethodDescriptionlistEpicNames
(com.atlassian.jira.user.ApplicationUser user, String searchTerm, int maxResults, String prioritizedProjects, boolean hideDone, boolean filterEpicByGivenProjects) Returns a result object containing the matching epic names.
-
Constructor Details
-
EpicPickerServiceImpl
public EpicPickerServiceImpl(IssueTypeService issueTypeService, EpicCustomFieldService epicCustomFieldService, EpicLabelProviderImpl epicLabelProvider, I18nFactoryService i18nFactoryService, com.atlassian.jira.search.issue.IssueDocumentSearchService issueDocumentSearchService, com.atlassian.jira.issue.IssueFactory issueFactory)
-
-
Method Details
-
listEpicNames
@Nonnull public ServiceOutcome<List<EpicNamesResult>> listEpicNames(@Nullable com.atlassian.jira.user.ApplicationUser user, String searchTerm, int maxResults, @Nullable String prioritizedProjects, boolean hideDone, boolean filterEpicByGivenProjects) Description copied from interface:EpicPickerService
Returns a result object containing the matching epic names.- Specified by:
listEpicNames
in interfaceEpicPickerService
- Parameters:
user
- the user who is performing operation and whose permissions are checked. Null means anonymous access.searchTerm
- The search term to be used to find matching epic names. Matching will occur against the epic's key and namemaxResults
- The maximum amount of matching epic names to be returned.prioritizedProjects
- Format ("KEY-A, KEY-B"). Optional. Epics belonged to these projects will be prioritized.hideDone
- the flag specified whether DONE epics should be included or not.filterEpicByGivenProjects
- the flag specified whether epics should be also filtered by the given projects.- Returns:
- Result which contains names that matches to passed criteria.
-