@PublicApi
public interface CustomerTransitionService
CustomerRequest
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,com.atlassian.jira.issue.Issue> |
executeCustomerTransition(com.atlassian.jira.user.ApplicationUser user,
CustomerTransitionExecutionParameters customerTransitionExecutionParameters)
Executes a
CustomerTransition for a CustomerRequest |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<CustomerTransition>> |
getCustomerTransitions(com.atlassian.jira.user.ApplicationUser user,
CustomerTransitionQuery customerTransitionQuery)
Retrieves a list of available
CustomerTransition |
CustomerTransitionExecutionParameters.Builder |
newExecuteParameterBuilder() |
CustomerTransitionQuery.Builder |
newQueryBuilder() |
CustomerTransitionQuery.Builder newQueryBuilder()
CustomerTransitionQuery.Builder
instance to build CustomerTransitionQuery
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<CustomerTransition>> getCustomerTransitions(@Nonnull com.atlassian.jira.user.ApplicationUser user, @Nonnull CustomerTransitionQuery customerTransitionQuery)
CustomerTransition
user
- The user retrieving the available transitionscustomerTransitionQuery
- Contains the issue to retrieve fromPagedResponse
of CustomerTransition
CustomerTransitionExecutionParameters.Builder newExecuteParameterBuilder()
CustomerTransitionExecutionParameters.Builder
instance to build CustomerTransitionExecutionParameters
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,com.atlassian.jira.issue.Issue> executeCustomerTransition(com.atlassian.jira.user.ApplicationUser user, CustomerTransitionExecutionParameters customerTransitionExecutionParameters)
CustomerTransition
for a CustomerRequest
user
- The user executing the transitioncustomerTransitionExecutionParameters
- Contains the request to transition and the transition to executeIssue
Copyright © 2019 Atlassian. All rights reserved.