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 Summary
Modifier and TypeMethodDescriptionfindEstimableIssueKeys(com.atlassian.jira.user.ApplicationUser user, com.atlassian.query.Query query, StatisticsField statisticsField, Set<String> maybeIssueKeys) booleanisIssueEstimable(com.atlassian.jira.search.Document document, StatisticsField statisticsField, Set<String> maybeIssueKeys)
-
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 actionquery- a query to filter the data bystatisticsField- represents an instance of aStatisticsFieldConfigfor aRapidViewfor 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 throughstatisticsField- represents an instance of aStatisticsFieldConfigfor aRapidViewfor 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
-