Interface ProjectPicker

All Known Implementing Classes:
ProjectPickerImpl

public interface ProjectPicker
Provides help in fetching a list of projects matching a query for pickers.
Since:
8.21
  • Method Summary

    Modifier and Type
    Method
    Description
    findProjects(String query, boolean allowEmptyQuery)
    Finds all the projects visible to the current logged-in user that have the project key or name matching the provided query.
  • Method Details

    • findProjects

      @Nonnull List<ProjectPickerItem> findProjects(@Nonnull String query, boolean allowEmptyQuery)
      Finds all the projects visible to the current logged-in user that have the project key or name matching the provided query.
      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