Package | Description |
---|---|
com.atlassian.servicedesk.api |
NOTE: These interfaces are public and are for consumption by non-Atlassian plugins and consideration
will be given to and guarantees made for its compatibility between releases.
|
com.atlassian.servicedesk.api.customer | |
com.atlassian.servicedesk.api.field | |
com.atlassian.servicedesk.api.permission | |
com.atlassian.servicedesk.api.portal | |
com.atlassian.servicedesk.api.request | |
com.atlassian.servicedesk.api.requesttype | |
com.atlassian.servicedesk.api.sla.metrics |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,ServiceDesk> |
ServiceDeskService.getServiceDeskById(com.atlassian.jira.user.ApplicationUser user,
int serviceDeskId)
Deprecated.
Retrieve a
ServiceDesk by its ID |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,ServiceDesk> |
ServiceDeskManager.getServiceDeskById(int serviceDeskId)
Deprecated.
Retrieve a
ServiceDesk by its ID |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,ServiceDesk> |
ServiceDeskService.getServiceDeskForPortal(com.atlassian.jira.user.ApplicationUser user,
Portal portal)
Deprecated.
Returns an Either of the
ServiceDesk associated with the given Portal or
AnError if:
- Service Desk was not found
- Service Desk was disabled
- User does not have access to the ServiceDesk |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,ServiceDesk> |
ServiceDeskManager.getServiceDeskForPortal(Portal portal)
Deprecated.
Returns an Either of the
ServiceDesk associated with the given Portal or
AnError if:
- Service Desk was not found
- Service Desk was disabled |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,ServiceDesk> |
ServiceDeskService.getServiceDeskForProject(com.atlassian.jira.user.ApplicationUser user,
com.atlassian.jira.project.Project project)
Deprecated.
Returns an Either of the
ServiceDesk associated with the given Project or
AnError if:
- Service Desk was not found
- Service Desk was disabled
- User does not have access to the ServiceDesk |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,ServiceDesk> |
ServiceDeskManager.getServiceDeskForProject(com.atlassian.jira.project.Project project)
Deprecated.
Returns an Either with the
ServiceDesk associated with the given Project or
AnError if:
- Service Desk was not found
- Service Desk was disabled |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<ServiceDesk>> |
ServiceDeskService.getServiceDesks(com.atlassian.jira.user.ApplicationUser user,
boolean includeArchived,
PagedRequest pagedRequest)
Deprecated.
Returns a list of service desks a user can view, with an option to include archived service desks.
|
default com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,PagedResponse<ServiceDesk>> |
ServiceDeskService.getServiceDesks(com.atlassian.jira.user.ApplicationUser user,
PagedRequest pagedRequest)
Deprecated.
Returns a list of service desks a user can view.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,List<CheckedUser>> |
CustomerService.addCustomersToServiceDesk(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk,
Set<String> usernameOrEmails)
Deprecated.
Adds existing JSD customers to a Service Desk project.
|
Modifier and Type | Method and Description |
---|---|
ServiceDesk |
RequestTypeField.serviceDesk()
Deprecated.
The
ServiceDesk that the Request Type belongs to |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,Boolean> |
ServiceDeskPermissionService.isAdminAgent(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk)
Deprecated.
Checks whether the user is an agent with project admin permission.
|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,Boolean> |
ServiceDeskPermissionService.isAgent(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk)
Deprecated.
Checks whether the user is an agent for the given service desk.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,Portal> |
PortalService.getPortalForServiceDesk(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk)
Deprecated.
Returns an Either with the
Portal associated with the given
ServiceDesk or AnError if:
- Portal was not found
- The user is does not have permission to access portal |
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,Portal> |
PortalManager.getPortalForServiceDesk(ServiceDesk serviceDesk)
Deprecated.
Returns an Either with the
Portal associated with the given
ServiceDesk or AnError if:
- Portal was not found |
Modifier and Type | Method and Description |
---|---|
ServiceDesk |
CustomerRequestCreateParameters.serviceDesk()
Deprecated.
The
ServiceDesk of the request to be created |
ServiceDesk |
CustomerRequestUpdateParameters.serviceDesk()
Deprecated.
The
ServiceDesk which CustomerRequest belongs to |
Modifier and Type | Method and Description |
---|---|
CustomerRequestCreateParameters.Builder |
CustomerRequestCreateParameters.Builder.serviceDesk(ServiceDesk serviceDesk)
Set the service desk
|
CustomerRequestUpdateParameters.Builder |
CustomerRequestUpdateParameters.Builder.serviceDesk(ServiceDesk serviceDesk) |
Modifier and Type | Method and Description |
---|---|
ServiceDesk |
RequestTypeCreateParameters.serviceDesk()
The
ServiceDesk this RequestType belongs to. |
Modifier and Type | Method and Description |
---|---|
RequestTypeCreateParameters.Builder |
RequestTypeCreateParameters.Builder.serviceDesk(ServiceDesk serviceDesk) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,TimeMetric> |
TimeMetricService.getTimeMetric(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk,
int metricId)
Deprecated.
Returns a time metric within a service desk given its id
|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,Collection<TimeMetric>> |
TimeMetricService.getTimeMetrics(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk)
Deprecated.
Returns all the time metrics defined for a service desk
|
Copyright © 2018 Atlassian. All rights reserved.