@PublicApi
public interface TimeMetricService
TimeMetric
objects.Modifier and Type | Method and Description |
---|---|
TimeMetric |
getTimeMetric(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk,
int metricId)
Returns a time metric within a service desk given its id
|
Collection<TimeMetric> |
getTimeMetrics(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk)
Returns all the time metrics defined for a service desk
|
Collection<TimeMetric> getTimeMetrics(com.atlassian.jira.user.ApplicationUser user, ServiceDesk serviceDesk)
user
- the user querying the service deskserviceDesk
- the service desk to find time metrics forServiceDeskServiceException
- on errorTimeMetric getTimeMetric(com.atlassian.jira.user.ApplicationUser user, ServiceDesk serviceDesk, int metricId)
user
- the user querying the service deskserviceDesk
- the service desk to find time metric formetricId
- the time metric idServiceDeskServiceException
- on errorCopyright © 2019 Atlassian. All rights reserved.