Interface SlaInformationService
@PublicApi
public interface SlaInformationService
Provides methods to query Service Level Agreement information about an issue
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
This allows you to format SLA durations into friendly String versions -
Method Summary
Modifier and TypeMethodDescriptiongetInfo
(com.atlassian.jira.user.ApplicationUser user, SlaInformationQuery query) This will return information about an issue's SLAs based on the query parametersCreate a builder to buildSlaInformationQuery
s
-
Method Details
-
newInfoQueryBuilder
SlaInformationQuery.Builder newInfoQueryBuilder()Create a builder to buildSlaInformationQuery
s -
getInfo
PagedResponse<SlaInformation> getInfo(com.atlassian.jira.user.ApplicationUser user, SlaInformationQuery query) This will return information about an issue's SLAs based on the query parameters- Parameters:
user
- the person executed this service callquery
- the information query- Returns:
- SLA information
- Throws:
ServiceDeskServiceException
- on error
-
getDurationFormatter
SlaInformationService.DurationFormatter getDurationFormatter()- Returns:
- a
SlaInformationService.DurationFormatter
that can be used to format SLA durations into more friendly strings
-