@PublicApi @ParametersAreNonnullByDefault public interface CustomerService
| Modifier and Type | Method and Description |
|---|---|
List<CheckedUser> |
addCustomersToServiceDesk(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk,
Set<String> usernameOrEmails)
Adds existing JSD customers to a Service Desk project.
|
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 |
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 createdServiceDeskServiceException - if creating user fails for a given user, or if validation failsList<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 usersServiceDeskServiceException - if adding fails for any of the given users, or if validation failsCustomerCreateParameters.Builder newCreateBuilder()
CustomerCreateParameters.Builder to build CustomerCreateParametersCopyright © 2022 Atlassian. All rights reserved.