From 47ab87138422afa3901aaa91c464f101d99418ec Mon Sep 17 00:00:00 2001 From: Bernard Labno Date: Sat, 17 Dec 2011 15:33:05 +0000 Subject: [PATCH] Added id to issue --- src/main/java/pl/com/it_crowd/youtrack/api/Issue.java | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/main/java/pl/com/it_crowd/youtrack/api/Issue.java b/src/main/java/pl/com/it_crowd/youtrack/api/Issue.java index f90bb35..8f89e34 100644 --- a/src/main/java/pl/com/it_crowd/youtrack/api/Issue.java +++ b/src/main/java/pl/com/it_crowd/youtrack/api/Issue.java @@ -62,9 +62,22 @@ public class Issue implements Serializable { return getFieldValue(fieldName.name()); } + public String getId() + { + return issue.getId(); + } + // -------------------------- ENUMERATIONS -------------------------- public enum Fields { - summary + created, + description, + numberInProject, + projectShortName, + reporterName, + resolved, + summary, + updated, + updaterName } } -- libgit2 0.24.0