Package com.deniz.jira.worklog.utils
Interface WorklogHelper
@PublicApi
public interface WorklogHelper
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.Integer,java.lang.Long>
getDailyActualWorkHours(java.lang.String userKey, java.time.ZonedDateTime startDate, java.time.ZonedDateTime endDate, java.lang.String extraIssueFilter)
long[]
getDailyActualWorkInSeconds(java.lang.String userKey, PeriodImp period)
long[]
getDailyActualWorkInSeconds(java.lang.String userKey, java.time.ZonedDateTime startDate, java.time.ZonedDateTime endDate)
double[]
getDailyRequiredWorkHours(java.lang.String userKey, java.time.ZonedDateTime startDate, java.time.ZonedDateTime endDate)
long[]
getDailyRequiredWorkInSeconds(java.lang.String userKey, PeriodImp period)
long[]
getDailyRequiredWorkInSeconds(java.lang.String userKey, java.time.ZonedDateTime startDate, java.time.ZonedDateTime endDate)
java.lang.String
getFirstErrorFromErrorCollection(com.atlassian.jira.util.ErrorCollection errorCollection)
-
Method Details
-
getDailyRequiredWorkInSeconds
long[] getDailyRequiredWorkInSeconds(java.lang.String userKey, java.time.ZonedDateTime startDate, java.time.ZonedDateTime endDate) -
getDailyRequiredWorkInSeconds
-
getDailyRequiredWorkHours
double[] getDailyRequiredWorkHours(java.lang.String userKey, java.time.ZonedDateTime startDate, java.time.ZonedDateTime endDate) -
getDailyActualWorkInSeconds
-
getDailyActualWorkInSeconds
long[] getDailyActualWorkInSeconds(java.lang.String userKey, java.time.ZonedDateTime startDate, java.time.ZonedDateTime endDate) throws com.atlassian.jira.issue.search.SearchException- Throws:
com.atlassian.jira.issue.search.SearchException
-
getDailyActualWorkHours
java.util.Map<java.lang.Integer,java.lang.Long> getDailyActualWorkHours(java.lang.String userKey, java.time.ZonedDateTime startDate, java.time.ZonedDateTime endDate, java.lang.String extraIssueFilter) throws com.atlassian.jira.issue.search.SearchException- Throws:
com.atlassian.jira.issue.search.SearchException
-
getFirstErrorFromErrorCollection
java.lang.String getFirstErrorFromErrorCollection(com.atlassian.jira.util.ErrorCollection errorCollection)
-