@ExperimentalApi @ParametersAreNonnullByDefault public interface CustomerService
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,List<CheckedUser>> |
addCustomersToServiceDesk(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk,
Set<String> usernameOrEmails)
Adds existing JSD customers to a Service Desk project.
|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,CheckedUser> |
createCustomer(com.atlassian.jira.user.ApplicationUser user,
CustomerCreateParameters customerCreateParameters)
Creates a JSD customer.
|
CustomerCreateParameters.Builder |
newCreateBuilder()
Returns a new
CustomerCreateParameters.Builder to build CustomerCreateParameters |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,CheckedUser> createCustomer(com.atlassian.jira.user.ApplicationUser user, CustomerCreateParameters customerCreateParameters)
user
- the user executing the request. This user need to have JIRA global admininstrator permission.customerCreateParameters
- the parameters of the customer to be createdcom.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,List<CheckedUser>> addCustomersToServiceDesk(com.atlassian.jira.user.ApplicationUser user, ServiceDesk serviceDesk, Set<String> usernameOrEmails)
user
- the user that is adding the customersserviceDesk
- the service desk to add customers tousernameOrEmails
- a set of usernames or emails corresponding to existing usersCustomerCreateParameters.Builder newCreateBuilder()
CustomerCreateParameters.Builder
to build CustomerCreateParameters
Copyright © 2017 Atlassian. All rights reserved.