@PublicApi @ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault public interface ServiceDeskService
ServiceDesk objects| Modifier and Type | Method and Description |
|---|---|
ServiceDesk |
getServiceDeskById(com.atlassian.jira.user.ApplicationUser user,
int serviceDeskId)
Retrieve a
ServiceDesk by its ID |
ServiceDesk |
getServiceDeskForPortal(com.atlassian.jira.user.ApplicationUser user,
Portal portal)
Returns the
ServiceDesk associated with the given Portal |
ServiceDesk |
getServiceDeskForProject(com.atlassian.jira.user.ApplicationUser user,
com.atlassian.jira.project.Project project)
Returns the
ServiceDesk associated with the given Project |
PagedResponse<ServiceDesk> |
getServiceDesks(com.atlassian.jira.user.ApplicationUser user,
boolean includeArchived,
PagedRequest pagedRequest)
Returns a list of service projects a user can view, with an option to include archived service projects.
|
default PagedResponse<ServiceDesk> |
getServiceDesks(com.atlassian.jira.user.ApplicationUser user,
PagedRequest pagedRequest)
Returns a list of service projects a user can view.
|
ServiceDesk getServiceDeskForProject(com.atlassian.jira.user.ApplicationUser user, com.atlassian.jira.project.Project project)
ServiceDesk associated with the given Projectuser - the user requesting the service projectproject - the project to search byServiceDesk associated with the given ProjectServiceDeskServiceException - on errorNoSuchEntityException - on error if a service project was disabled or not foundServiceDesk getServiceDeskById(com.atlassian.jira.user.ApplicationUser user, int serviceDeskId)
ServiceDesk by its IDuser - the user executing the requestserviceDeskId - the service project IDServiceDeskServiceDeskServiceException - on errordefault PagedResponse<ServiceDesk> getServiceDesks(com.atlassian.jira.user.ApplicationUser user, PagedRequest pagedRequest)
user - the user executing the requestpagedRequest - the paging to be applied to the outputServiceDeskServiceDeskServiceException - on errorPagedResponse<ServiceDesk> getServiceDesks(com.atlassian.jira.user.ApplicationUser user, boolean includeArchived, PagedRequest pagedRequest)
user - the user executing the requestincludeArchived - determines whether archived service projects are included; this is false by defaultpagedRequest - the paging to be applied to the outputServiceDeskServiceDeskServiceException - on errorServiceDesk getServiceDeskForPortal(com.atlassian.jira.user.ApplicationUser user, Portal portal)
ServiceDesk associated with the given Portaluser - the user requesting the service projectportal - the portal to search byServiceDesk associated with the given PortalServiceDeskServiceException - on errorNoSuchEntityException - on error if a service project was disabled or not foundCopyright © 2021 Atlassian. All rights reserved.