|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SprintService
Method Summary | |
---|---|
ServiceOutcome<Sprint> |
createSprint(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
Sprint sprintData,
java.util.Set<com.atlassian.jira.issue.Issue> issues)
Create a new sprint. The user needs to have Project Administrator permissions for all issues. |
ServiceOutcome<java.lang.Void> |
deleteSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
Delete a sprint |
ServiceOutcome<java.util.Set<Sprint>> |
findSprintsByName(com.atlassian.crowd.embedded.api.User user,
java.lang.String searchQuery,
int maxResults,
boolean excludeCompleted)
Get a set of sprints matching a search query |
ServiceOutcome<Sprint> |
getSprint(com.atlassian.crowd.embedded.api.User user,
long sprintId)
Get a sprint given its id The sprint is only returned if the user can see at least one of the issues assigned to the sprint |
ServiceOutcome<java.util.Set<Sprint>> |
getSprints(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.Set<java.lang.Long> sprintIds)
Get a set of sprints by id checking each for visibility permission |
ServiceOutcome<Sprint> |
updateSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
Update a sprint |
Method Detail |
---|
@Nonnull ServiceOutcome<Sprint> getSprint(com.atlassian.crowd.embedded.api.User user, long sprintId)
@Nonnull ServiceOutcome<java.util.Set<Sprint>> getSprints(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.util.Set<java.lang.Long> sprintIds)
@Nonnull ServiceOutcome<java.util.Set<Sprint>> findSprintsByName(com.atlassian.crowd.embedded.api.User user, java.lang.String searchQuery, int maxResults, boolean excludeCompleted)
user
- the usersearchQuery
- the string to match sprint names againstexcludeCompleted
- whether to include completed sprints or not@Nonnull ServiceOutcome<Sprint> createSprint(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, Sprint sprintData, java.util.Set<com.atlassian.jira.issue.Issue> issues)
user
- the userrapidView
- the sprint's rapid viewsprintData
- the sprint object to persistissues
- the issues to include in the sprint@Nonnull ServiceOutcome<Sprint> updateSprint(com.atlassian.crowd.embedded.api.User user, Sprint sprint)
@Nonnull ServiceOutcome<java.lang.Void> deleteSprint(com.atlassian.crowd.embedded.api.User user, Sprint sprint)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |