Interface EstimableIssueDataService

All Known Implementing Classes:
EstimableIssueDataServiceImpl

public interface EstimableIssueDataService
Find issues that are estimable for given user, JQL query, statistic field and scoped to given issue key list. If the scope of issue keys is set to empty or null it means to get all issues.
Since:
10.7
  • Method Details

    • findEstimableIssueKeys

      ServiceOutcome<Set<String>> findEstimableIssueKeys(@Nullable com.atlassian.jira.user.ApplicationUser user, @Nonnull com.atlassian.query.Query query, @Nonnull StatisticsField statisticsField, @Nullable Set<String> maybeIssueKeys)
      Parameters:
      user - the user performing the search action
      query - a query to filter the data by
      statisticsField - represents an instance of a StatisticsFieldConfig for a RapidView for example "timeoriginalestimate".
      maybeIssueKeys - the issue keys that should be taken into account, if null it means to use all
      Returns:
      if ServiceOutcome is valid, then it contains the issue keys of issues that are estimable, the error messages otherwise
    • isIssueEstimable

      boolean isIssueEstimable(@Nonnull com.atlassian.jira.search.Document document, @Nonnull StatisticsField statisticsField, @Nullable Set<String> maybeIssueKeys)
      Parameters:
      document - document to search through
      statisticsField - represents an instance of a StatisticsFieldConfig for a RapidView for example "timeoriginalestimate".
      maybeIssueKeys - the issue keys that should be taken into account, if null it means to use all
      Returns:
      true if the issue is estimable, false otherwise