@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 Jira Service Management customers to a service project.
|
CheckedUser |
createCustomer(com.atlassian.jira.user.ApplicationUser user,
CustomerCreateParameters customerCreateParameters)
Creates a Jira Service Management 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 needs to have the Jira global administrator 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 project 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 CustomerCreateParameters
Copyright © 2021 Atlassian. All rights reserved.