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.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,
long serviceDeskId)
Retrieve a
ServiceDesk by its ID |
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)
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)
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,
PagedRequest pagedRequest)
Returns a page of service desks a user can see.
|
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)
Adds existing JSD customers to a Service Desk project.
|
Modifier and Type | Method and Description |
---|---|
ServiceDesk |
RequestTypeField.serviceDesk()
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)
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)
Checks whether the user is an agent for the given service desk.
|
Modifier and Type | Method and Description |
---|---|
ServiceDesk |
CustomerRequestCreateParameters.serviceDesk()
The
ServiceDesk of the request to be created |
ServiceDesk |
CustomerRequestUpdateParameters.serviceDesk()
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)
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)
Returns all the time metrics defined for a service desk
|
Copyright © 2017 Atlassian. All rights reserved.