Interface IssueTransitionAndRankService
- All Known Implementing Classes:
IssueTransitionAndRankServiceImpl
public interface IssueTransitionAndRankService
Service to transition an issue to another status as well as to rank the issue. This service is mainly
used by the kanban plan mode, specifically when the user drag some issues from the backlog and drop
them on the selected for development bucket (or the other way around).
We always try to transition the issue using the specified transition. If none is provided then we compute
the list of relevant transitions. If the list is empty, then we return an invalid outcome. If the list
contains one transition then we use it and upon successful transition, we rank the issue. Finally if
there are multiple transitions, we return a service outcome containing these transitions. No ranking operation
will be performed in this case.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault maximum number of transitioned issues in one operation (by default it is not limited)static final StringProperty for maximum number of transitioned issues by once -
Method Summary
Modifier and TypeMethodDescriptiontransitionAndRankIssue(com.atlassian.jira.user.ApplicationUser applicationUser, IssueTransitionAndRankService.TransitionAndRankRequest request)
-
Field Details
-
MAX_NUMBER_OF_TRANSITIONED_ISSUES_KEY
Property for maximum number of transitioned issues by once- See Also:
-
DEFAULT_MAX_NUMBER_OF_TRANSITIONED_ISSUES
static final int DEFAULT_MAX_NUMBER_OF_TRANSITIONED_ISSUESDefault maximum number of transitioned issues in one operation (by default it is not limited)- See Also:
-
-
Method Details
-
transitionAndRankIssue
ServiceOutcome<IssueTransitionAndRankService.TransitionAndRankResult> transitionAndRankIssue(com.atlassian.jira.user.ApplicationUser applicationUser, IssueTransitionAndRankService.TransitionAndRankRequest request)
-