@InjectableComponent public interface ReportSubTaskFetcher
Modifier and Type | Method and Description |
---|---|
List<Issue> |
getSubTasks(ApplicationUser user,
List<Issue> parentIssues,
SubTaskInclusionOption subtaskInclusion,
boolean onlyIncludeUnresolved)
Given a list of parent issues, returns a list of subtasks visible to the user,
subject to the subtask inclusion policy at
SubTaskInclusionOption . |
List<Issue> |
getSubTasks(ApplicationUser user,
List<Issue> parentIssues,
SubTaskInclusionOption subtaskInclusion,
boolean onlyIncludeUnresolved,
int limit)
Given a list of parent issues, returns a list of subtasks visible to the user,
subject to the subtask inclusion policy at
SubTaskInclusionOption . |
List<Issue> |
getSubTasksForUser(ApplicationUser user,
List<Issue> parentIssues,
SubTaskInclusionOption subtaskInclusion,
boolean onlyIncludeUnresolved)
Given a list of parent issues, returns a list of subtasks visible to the user,
subject to the subtask inclusion policy at
SubTaskInclusionOption . |
List<Issue> getSubTasks(ApplicationUser user, List<Issue> parentIssues, SubTaskInclusionOption subtaskInclusion, boolean onlyIncludeUnresolved) throws SearchException
SubTaskInclusionOption
.
Will return an empty list if nothing found.
user
- For permission checksparentIssues
- A list of parent issuessubtaskInclusion
- A String that is one of the SubTaskInclusionOption
.
If subtaskInclusion is null
, an empty list is returned.onlyIncludeUnresolved
- Whether to only include unresolved, or to include both resolved and unresolved issuesSearchException
- if the search subsystem fails.List<Issue> getSubTasks(ApplicationUser user, List<Issue> parentIssues, SubTaskInclusionOption subtaskInclusion, boolean onlyIncludeUnresolved, int limit) throws SearchException
SubTaskInclusionOption
.
Will return an empty list if nothing found.
user
- For permission checksparentIssues
- A list of parent issuessubtaskInclusion
- A String that is one of the SubTaskInclusionOption
.
If subtaskInclusion is null
, an empty list is returned.onlyIncludeUnresolved
- Whether to only include unresolved, or to include both resolved and unresolved issueslimit
- A limit on number of subtasks to be returnedSearchException
- if the search subsystem fails.List<Issue> getSubTasksForUser(ApplicationUser user, List<Issue> parentIssues, SubTaskInclusionOption subtaskInclusion, boolean onlyIncludeUnresolved) throws SearchException
SubTaskInclusionOption
.
Will return an empty list if nothing found.
user
- for permission checksparentIssues
- a List of IssuessubtaskInclusion
- @Nullable a String that is one of the SubTaskInclusionOption
If subtaskInclusion is null
, an empty list is returned.onlyIncludeUnresolved
- whether to only include unresolved, or to include both resolved and unresolved issuesSearchException
- if the search subsystem fails.Copyright © 2002-2022 Atlassian. All Rights Reserved.