public interface ProjectTimeTracking
project's timetracking settings.
Note: it is important that you first check whether timetracking is
enabled for the Project.
Issue.timetracking()| Modifier and Type | Method and Description |
|---|---|
boolean |
enabled()
Whether timetracking is enabled for the
Project or not. |
Project |
project()
The parent
Project. |
Stream<TimeTrackEntryType> |
types()
A stream of all
timetracking entry types, if
timetracking is enabled. |
boolean enabled()
throws IOException,
UnauthorizedException
Project or not.
The determination is made by making sure that all these conditions are met:
true if timetracking is enabled for the Project according to the rules
above, false otherwiseIOException - if the server is unavailableUnauthorizedException - if the user's Session is not authorized to perform this
operationStream<TimeTrackEntryType> types() throws IOException, UnauthorizedException
timetracking entry types, if
timetracking is enabled.timetracking entry typesIOException - if the server is unavailable, or if timetracking is not
enabled for this ProjectUnauthorizedException - if the user's Session is not authorized to perform this
operationCopyright © 2017–2018 George Aristy. All rights reserved.