Interface SlaInformationService
@PublicApi
public interface SlaInformationService
Provides methods to query Service Level Agreement information about an issue
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThis 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 buildSlaInformationQuerys
-
Method Details
-
newInfoQueryBuilder
SlaInformationQuery.Builder newInfoQueryBuilder()Create a builder to buildSlaInformationQuerys -
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.DurationFormatterthat can be used to format SLA durations into more friendly strings
-