@PublicApi @Deprecated 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)
Deprecated.
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)
Deprecated.
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 © 2020 Atlassian. All rights reserved.