public interface SprintPermissionService
| Modifier and Type | Method and Description |
|---|---|
ServiceOutcome<Void> |
canAddRemoveIssuesToSprint(com.atlassian.jira.user.ApplicationUser user,
Collection<com.atlassian.jira.issue.Issue> issues)
Can the user edit the sprint assignment for a set of issues?
In order to add/remove issues from a sprint, the user must have schedule permission for all issues
|
ServiceOutcome<Void> |
canCreateSprint(com.atlassian.jira.user.ApplicationUser user,
RapidView rapidView,
Set<com.atlassian.jira.issue.Issue> issues)
Can the user create a sprint given the set of issues?
This method checks whether the user has the PROJECT_ADMIN permission for all projects the issues are of.
|
boolean |
canMostLikelyManageSprints(com.atlassian.jira.user.ApplicationUser user,
RapidView rapidView,
Set<Long> projectIds)
Can the user manage sprints of the given board?
Note: The method is called that way because the value is either derived from the rapid view filter query
or the passed project ids.
|
ServiceOutcome<Void> |
canUpdateSprint(com.atlassian.jira.user.ApplicationUser user,
Sprint sprint)
Can the user update a sprint, that is, update, delete, etc.
|
ServiceOutcome<Map<Sprint,Boolean>> |
canUpdateSprints(com.atlassian.jira.user.ApplicationUser user,
List<Sprint> sprint)
Can the user update the given sprints, that is, update, delete, etc.
|
ServiceOutcome<Boolean> |
canViewSprint(com.atlassian.jira.user.ApplicationUser user,
Sprint sprint)
Can the user view a given sprint?
|
@NotNull ServiceOutcome<Boolean> canViewSprint(com.atlassian.jira.user.ApplicationUser user, Sprint sprint)
ServiceOutcome<Void> canCreateSprint(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, Set<com.atlassian.jira.issue.Issue> issues)
@NotNull ServiceOutcome<Void> canUpdateSprint(com.atlassian.jira.user.ApplicationUser user, Sprint sprint)
@NotNull ServiceOutcome<Map<Sprint,Boolean>> canUpdateSprints(com.atlassian.jira.user.ApplicationUser user, List<Sprint> sprint)
@NotNull ServiceOutcome<Void> canAddRemoveIssuesToSprint(com.atlassian.jira.user.ApplicationUser user, Collection<com.atlassian.jira.issue.Issue> issues)
boolean canMostLikelyManageSprints(com.atlassian.jira.user.ApplicationUser user,
RapidView rapidView,
Set<Long> projectIds)
Copyright © 2007–2015 Atlassian. All rights reserved.