Package | Description |
---|---|
com.atlassian.servicedesk.api.customer | |
com.atlassian.servicedesk.api.notification | |
com.atlassian.servicedesk.api.user |
Modifier and Type | Method and Description |
---|---|
CheckedUser |
CustomerService.createCustomer(com.atlassian.jira.user.ApplicationUser user,
CustomerCreateParameters customerCreateParameters)
Creates a JSD customer.
|
Modifier and Type | Method and Description |
---|---|
List<CheckedUser> |
CustomerService.addCustomersToServiceDesk(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk,
Set<String> usernameOrEmails)
Adds existing JSD customers to a Service Desk project.
|
Modifier and Type | Method and Description |
---|---|
URI |
CustomerNotificationSubscriptionService.getUnsubscribeCustomerNotificationUri(CheckedUser recipient,
com.atlassian.jira.issue.Issue issue)
Provides a URL that can be included in any customer email notifications.
|
boolean |
CustomerNotificationSubscriptionService.isSubscribedCustomerNotifications(CheckedUser recipient,
com.atlassian.jira.issue.Issue issue)
Given a user and issue, return whether user should be sent new customer notifcations.
|
Modifier and Type | Method and Description |
---|---|
CheckedUser |
UserFactory.getCheckedUser()
Helper method to wrap getCurrentUserByType[CheckedUser].
|
CheckedUser |
UserFactory.wrap(com.atlassian.jira.user.ApplicationUser appUser)
Returns a
CheckedUser from the application user or an error if an internal error occurred,
or the ApplicationUser was null . |
CheckedUser |
UserFactory.wrapUserKey(String userkey)
This turns a user key into a JIRA Application User and then wraps it up.
|
CheckedUser |
UserFactory.wrapUsername(String username)
This turns a username into a JIRA Application User and then wraps it up.
|
Modifier and Type | Method and Description |
---|---|
Optional<CheckedUser> |
UncheckedUser.asCheckedUser()
Convert this
UncheckedUser into an optional CheckedUser . |
List<CheckedUser> |
UserFactory.wrap(Collection<com.atlassian.jira.user.ApplicationUser> appUsers)
Map a list of
ApplicationUser to a list of CheckedUser . |
List<CheckedUser> |
UserFactory.wrapUsernames(Collection<String> usernames)
This turns
usernames into a JIRA Application User and then wraps them to CheckedUser . |
Modifier and Type | Method and Description |
---|---|
List<com.atlassian.jira.user.ApplicationUser> |
UserFactory.unwrap(Collection<CheckedUser> checkedUsers)
Map a list of
CheckedUser to a list of ApplicationUser . |
Copyright © 2019 Atlassian. All rights reserved.