public interface SprintIssueService
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Void> |
addIssuesToSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint,
Collection<com.atlassian.jira.issue.Issue> issues)
Updates the Default Sprint field on the specified issues to have the value of the specified
Sprint . |
ServiceOutcome<com.atlassian.fugue.Option<Sprint>> |
getActiveOrFutureSprintForIssue(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue)
Returns any future or active sprint for an issue
|
ServiceOutcome<com.atlassian.fugue.Option<Sprint>> |
getActiveSprintForIssue(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue)
Returns any future sprints for an issue
|
ServiceOutcome<com.atlassian.fugue.Option<Sprint>> |
getFutureSprintForIssue(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue)
Returns any future sprint for an issue
|
ServiceOutcome<List<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<Collection<Sprint>> |
getSprintsForIssue(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue)
Returns all sprints an issue is currently assigned to.
|
ServiceOutcome<List<com.atlassian.jira.issue.Issue>> |
removeAllIssuesFromSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
Removes all issues currently assigned to given sprint.
|
ServiceOutcome<Void> |
removeIssuesFromSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint,
Collection<com.atlassian.jira.issue.Issue> issues)
removes the specified issues from a given sprint
|
ServiceOutcome<Void> |
updateFutureActiveSprintOrBacklog(com.atlassian.crowd.embedded.api.User user,
Sprint sprint,
Collection<com.atlassian.jira.issue.Issue> issues)
Updates the Default Sprint field on the specified issues to have the value of the specified
Sprint . |
@NotNull ServiceOutcome<Void> updateFutureActiveSprintOrBacklog(com.atlassian.crowd.embedded.api.User user, Sprint sprint, Collection<com.atlassian.jira.issue.Issue> issues)
Sprint
.
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.user
- the user performing the sprint assignmentsprint
- the sprint to assign issues to, null will remove issues from currently assigned active sprintsissues
- the issues to put into the sprint@NotNull ServiceOutcome<Void> addIssuesToSprint(com.atlassian.crowd.embedded.api.User user, Sprint sprint, Collection<com.atlassian.jira.issue.Issue> issues)
Sprint
.
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.user
- the user performing the sprint assignmentsprint
- the sprint to assign issues toissues
- the issues to put into the sprint@NotNull ServiceOutcome<List<com.atlassian.jira.issue.Issue>> getIssuesForSprint(com.atlassian.crowd.embedded.api.User user, Sprint sprint)
user
- the user performing the querysprint
- the sprint to query@NotNull ServiceOutcome<Void> removeIssuesFromSprint(com.atlassian.crowd.embedded.api.User user, Sprint sprint, Collection<com.atlassian.jira.issue.Issue> issues)
user
- the user performing the sprint operationsprint
- the sprint to remove issues fromissues
- the issues to remove from the sprint@NotNull ServiceOutcome<List<com.atlassian.jira.issue.Issue>> removeAllIssuesFromSprint(com.atlassian.crowd.embedded.api.User user, Sprint sprint)
@NotNull ServiceOutcome<Collection<Sprint>> getSprintsForIssue(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.issue.Issue issue)
@NotNull ServiceOutcome<com.atlassian.fugue.Option<Sprint>> getActiveSprintForIssue(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.issue.Issue issue)
@NotNull ServiceOutcome<com.atlassian.fugue.Option<Sprint>> getFutureSprintForIssue(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.issue.Issue issue)
@NotNull ServiceOutcome<com.atlassian.fugue.Option<Sprint>> getActiveOrFutureSprintForIssue(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.issue.Issue issue)
Copyright © 2007–2015 Atlassian. All rights reserved.