@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 project given its id
|
Collection<TimeMetric> |
getTimeMetrics(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk)
Returns all the time metrics defined for a service project
|
Collection<TimeMetric> getTimeMetrics(com.atlassian.jira.user.ApplicationUser user, ServiceDesk serviceDesk)
user
- the user querying the service projectserviceDesk
- the service project to find time metrics forServiceDeskServiceException
- on errorTimeMetric getTimeMetric(com.atlassian.jira.user.ApplicationUser user, ServiceDesk serviceDesk, int metricId)
user
- the user querying the service projectserviceDesk
- the service project to find time metric formetricId
- the time metric idServiceDeskServiceException
- on errorCopyright © 2024 Atlassian. All rights reserved.