public interface Issue
YouTrack issue.| Modifier and Type | Method and Description |
|---|---|
Comments |
comments()
Access to the issue's
comments. |
Instant |
creationDate()
The date the issue was created.
|
String |
description()
The issue's description.
|
List<AssignedField> |
fields()
|
String |
id()
The issue's id.
|
Project |
project()
The
Project that the issue was created in. |
Issue |
refresh()
Returns the same
Issue after refreshing its data from the server. |
String |
summary()
The issue's summary.
|
IssueTimeTracking |
timetracking()
Access to the issue's
timetracking. |
Issue |
update(Field field,
FieldValue value)
|
Issue |
update(Map<Field,FieldValue> fields)
Updates this issue with the
fields provided, returning a new Issue reflecting
those changes. |
UsersOfIssue |
users()
Access to the issue's
users. |
Project project()
Project that the issue was created in.String id()
Instant creationDate()
String summary()
String description()
UsersOfIssue users()
users.usersComments comments()
comments.comments.IssueTimeTracking timetracking()
timetracking.
Note: it is important that you first check whether timetracking is
enabled for the Project.
timetracking.TimeTracking.enabled()Issue refresh() throws IOException, UnauthorizedException
Issue after refreshing its data from the server.
This is a convenient shortcut for issue.project().issues().get(issue.id()).get().
Issue after refreshing its data from the serverIOException - if the server is unavailableUnauthorizedException - if the user's Session is not authorized to perform this
operationIssue update(Field field, FieldValue value) throws IOException, UnauthorizedException
field - the issue's fieldvalue - the field's valueIssue reflecting the changes brought about by updating this issue with
argsIOException - if the server is unavailableUnauthorizedException - if the user's Session is not authorized to perform this
operationfields()Issue update(Map<Field,FieldValue> fields) throws IOException, UnauthorizedException
fields provided, returning a new Issue reflecting
those changes.fields - the collection of fields and their values to updateIssue reflecting those changesIOException - if the server is unavailableUnauthorizedException - if the user's Session is not authorized to perform this
operationupdate(org.llorllale.youtrack.api.Field, org.llorllale.youtrack.api.FieldValue)List<AssignedField> fields()
fields of this Issueupdate(org.llorllale.youtrack.api.Field, org.llorllale.youtrack.api.FieldValue)Copyright © 2017 George Aristy. All rights reserved.