|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.greenhopper.service.sprint.SprintIssueServiceImpl
@Service public class SprintIssueServiceImpl
Manipulates sprint information stored against issues.
| Constructor Summary | |
|---|---|
SprintIssueServiceImpl()
|
|
| Method Summary | |
|---|---|
ServiceOutcome<java.lang.Void> |
addIssuesToSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint,
java.util.Set<com.atlassian.jira.issue.Issue> issues)
Updates the Default Sprint field on the specified issues to have the value of the specified Sprint. |
ServiceOutcome<java.lang.Iterable<com.atlassian.jira.issue.Issue>> |
getIssuesForSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
Gets the issues assigned to a given sprint Note: This returns the issues in the given sprint RIGHT NOW! if you want issues which _have_ been in the sprint at some point, look at SprintHistoryService |
ServiceOutcome<java.util.Collection<Sprint>> |
getOpenSprintsForIssue(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue)
|
ServiceOutcome<java.util.Collection<Sprint>> |
getSprintsForIssue(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue)
|
ServiceOutcome<java.lang.Void> |
removeIssuesFromSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint,
java.util.Set<com.atlassian.jira.issue.Issue> issues)
removes the specified issues from a given sprint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SprintIssueServiceImpl()
| Method Detail |
|---|
@NotNull
public ServiceOutcome<java.lang.Iterable<com.atlassian.jira.issue.Issue>> getIssuesForSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
SprintIssueService
getIssuesForSprint in interface SprintIssueServiceuser - the user performing the querysprint - the sprint to query
@NotNull
public ServiceOutcome<java.lang.Void> addIssuesToSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint,
java.util.Set<com.atlassian.jira.issue.Issue> issues)
SprintIssueServiceSprint.
Validation of the issue update is performed against all issues before attempting an update.
Note: if validation passes but the update operation does not, it is possible that some issues will have already
been updated even though errors have been returned.
addIssuesToSprint in interface SprintIssueServiceuser - the user performing the sprint assignmentsprint - the sprint to assign issues toissues - the issues to put into the sprint
@NotNull
public ServiceOutcome<java.lang.Void> removeIssuesFromSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint,
java.util.Set<com.atlassian.jira.issue.Issue> issues)
SprintIssueService
removeIssuesFromSprint in interface SprintIssueServiceuser - the user performing the sprint operationsprint - the sprint to remove issues fromissues - the issues to remove from the sprint
@NotNull
public ServiceOutcome<java.util.Collection<Sprint>> getSprintsForIssue(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue)
getSprintsForIssue in interface SprintIssueService
@NotNull
public ServiceOutcome<java.util.Collection<Sprint>> getOpenSprintsForIssue(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue)
getOpenSprintsForIssue in interface SprintIssueService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||