@PublicApi @ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault public interface ServiceDeskManager
ServiceDesk
objects without permission checks.
It is intended this should only be required when performing administrative tasks where you need access regardless
of permissions or without a user. Usually the ServiceDeskService
should be preferred.
Modifier and Type | Method and Description |
---|---|
ServiceDesk |
getServiceDeskById(int serviceDeskId)
Retrieve a
ServiceDesk by its ID |
ServiceDesk |
getServiceDeskForPortal(Portal portal)
Returns the
ServiceDesk associated with the given Portal |
ServiceDesk |
getServiceDeskForProject(com.atlassian.jira.project.Project project)
Returns the
ServiceDesk associated with the given Project |
ServiceDesk getServiceDeskForProject(com.atlassian.jira.project.Project project)
ServiceDesk
associated with the given Project
project
- the project to search by.ServiceDesk
associated with the given Project
ServiceDeskServiceException
- on error if a service project was disabled or not foundServiceDesk getServiceDeskById(int serviceDeskId)
ServiceDesk
by its IDserviceDeskId
- the service project IDServiceDesk
ServiceDeskServiceException
- on errorServiceDesk getServiceDeskForPortal(Portal portal)
ServiceDesk
associated with the given Portal
portal
- the portal to search by.ServiceDesk
associated with the given Portal
ServiceDeskServiceException
- on error if a service project was disabled or not foundCopyright © 2021 Atlassian. All rights reserved.