@PublicApi
public interface TimeMetricService
TimeMetric objects.| Modifier and Type | Method and Description |
|---|---|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,TimeMetric> |
getTimeMetric(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk,
int metricId)
Returns a time metric within a service desk given its id
|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,Collection<TimeMetric>> |
getTimeMetrics(com.atlassian.jira.user.ApplicationUser user,
ServiceDesk serviceDesk)
Returns all the time metrics defined for a service desk
|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,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 forcom.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,TimeMetric> 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 idCopyright © 2017 Atlassian. All rights reserved.