public interface IssueTimeTracking
API for Issue timetracking.
Note: timetracking needs to be enabled for the
Project in YouTrack, otherwise these operations will throw IOException.
| Modifier and Type | Method and Description |
|---|---|
IssueTimeTracking |
create(Duration duration)
Creates a new
entry with all other fields unspecified. |
IssueTimeTracking |
create(Duration duration,
String description)
Creates a new
entry with a duration and description. |
IssueTimeTracking |
create(Duration duration,
String description,
TimeTrackEntryType type)
Creates a new
entry with a duration, description, and a type. |
IssueTimeTracking |
create(Duration duration,
TimeTrackEntryType type)
Creates a new
entry with a duration and a type. |
IssueTimeTracking |
create(LocalDate date,
Duration duration)
Creates a new
entry with a duration and a date. |
IssueTimeTracking |
create(LocalDate date,
Duration duration,
String description)
Creates a new
entry with a duration, date, and description. |
IssueTimeTracking |
create(LocalDate date,
Duration duration,
String description,
TimeTrackEntryType type)
Creates a new
entry. |
Stream<TimeTrackEntry> |
stream()
|
Stream<TimeTrackEntry> stream() throws IOException, UnauthorizedException
Stream with all available work entries for the
IssueIOException - if the server is unavailableUnauthorizedException - if the user's Session is not authorized to perform this
operationIssueTimeTracking create(LocalDate date, Duration duration, String description, TimeTrackEntryType type) throws IOException, UnauthorizedException
entry.date - the date when the entry was workedduration - the work's durationdescription - description for the work entrytype - the work type (eg. "Development")IssueTimeTrackingIOException - if the server is unavailableUnauthorizedException - if the user's Session is not authorized to perform this
operationIssueTimeTracking create(Duration duration) throws IOException, UnauthorizedException
entry with all other fields unspecified.duration - the work's durationIssueTimeTrackingIOException - if the server is unavailableUnauthorizedException - if the user's Session is not authorized to perform this
operationIssueTimeTracking create(Duration duration, String description) throws IOException, UnauthorizedException
entry with a duration and description.duration - the work's durationdescription - descriptive textIssueTimeTrackingIOException - if the server is unavailableUnauthorizedException - if the user's Session is not authorized to perform this
operationIssueTimeTracking create(LocalDate date, Duration duration) throws IOException, UnauthorizedException
entry with a duration and a date.date - the date when the entry was workedduration - the work's durationIssueTimeTrackingIOException - if the server is unavailableUnauthorizedException - if the user's Session is not authorized to perform this
operationIssueTimeTracking create(Duration duration, TimeTrackEntryType type) throws IOException, UnauthorizedException
entry with a duration and a type.duration - the work's durationtype - the work type (eg. "Development")IssueTimeTrackingIOException - if the server is unavailableUnauthorizedException - if the user's Session is not authorized to perform this
operationIssueTimeTracking create(Duration duration, String description, TimeTrackEntryType type) throws IOException, UnauthorizedException
entry with a duration, description, and a type.duration - the work's durationdescription - descriptive texttype - the work type (eg. "Development")IssueTimeTrackingIOException - if the server is unavailableUnauthorizedException - if the user's Session is not authorized to perform this
operationIssueTimeTracking create(LocalDate date, Duration duration, String description) throws IOException, UnauthorizedException
entry with a duration, date, and description.date - the date when the entry was workedduration - the work's durationdescription - descriptive textIssueTimeTrackingIOException - if the server is unavailableUnauthorizedException - if the user's Session is not authorized to perform this
operationCopyright © 2017–2018 George Aristy. All rights reserved.