Interface CustomerTransitionService
@PublicApi
public interface CustomerTransitionService
Used to allow a customer to transition a
CustomerRequest
-
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.jira.issue.Issue
executeCustomerTransition
(com.atlassian.jira.user.ApplicationUser user, CustomerTransitionExecutionParameters customerTransitionExecutionParameters) Executes aCustomerTransition
for aCustomerRequest
getCustomerTransitions
(com.atlassian.jira.user.ApplicationUser user, CustomerTransitionQuery customerTransitionQuery) Retrieves a list of availableCustomerTransition
-
Method Details
-
newQueryBuilder
CustomerTransitionQuery.Builder newQueryBuilder()- Returns:
- a new
CustomerTransitionQuery.Builder
instance to buildCustomerTransitionQuery
-
getCustomerTransitions
PagedResponse<CustomerTransition> getCustomerTransitions(@Nonnull com.atlassian.jira.user.ApplicationUser user, @Nonnull CustomerTransitionQuery customerTransitionQuery) Retrieves a list of availableCustomerTransition
- Parameters:
user
- The user retrieving the available transitionscustomerTransitionQuery
- Contains the issue to retrieve from- Returns:
- A
PagedResponse
ofCustomerTransition
- Throws:
ServiceDeskServiceException
- on error
-
newExecuteParameterBuilder
CustomerTransitionExecutionParameters.Builder newExecuteParameterBuilder()- Returns:
- a new
CustomerTransitionExecutionParameters.Builder
instance to buildCustomerTransitionExecutionParameters
-
executeCustomerTransition
com.atlassian.jira.issue.Issue executeCustomerTransition(com.atlassian.jira.user.ApplicationUser user, CustomerTransitionExecutionParameters customerTransitionExecutionParameters) Executes aCustomerTransition
for aCustomerRequest
- Parameters:
user
- The user executing the transitioncustomerTransitionExecutionParameters
- Contains the request to transition and the transition to execute- Returns:
- The transitioned
Issue
- Throws:
ServiceDeskServiceException
- on error
-