Class ProjectPickerImpl

java.lang.Object
com.atlassian.jira.rest.v2.issue.project.ProjectPickerImpl
All Implemented Interfaces:
ProjectPicker

@Component public class ProjectPickerImpl extends Object implements ProjectPicker
  • Constructor Details

  • Method Details

    • findProjects

      @Nonnull public List<ProjectPickerItem> findProjects(@Nonnull String query, boolean allowEmptyQuery)
      Description copied from interface: ProjectPicker
      Finds all the projects visible to the current logged-in user that have the project key or name matching the provided query.
      Specified by:
      findProjects in interface ProjectPicker
      Parameters:
      query - a user provided string
      allowEmptyQuery - if true, and the query is empty, the method will return first 100 results.
      Returns:
      a list of ProjectPickerItems for the query