aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client/src/main/java/org
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-06-03 16:55:05 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-06-03 17:00:05 +0200
commit473b592946fa31843073bcc9e469bc43675cd2ab (patch)
tree1612823ba43e25503ff293dd0a78aff98e536cd7 /sonar-ws-client/src/main/java/org
parent8eb8931a7b241260ae730c2582446abddd397f4c (diff)
downloadsonarqube-473b592946fa31843073bcc9e469bc43675cd2ab.tar.gz
sonarqube-473b592946fa31843073bcc9e469bc43675cd2ab.zip
SONAR-3755 add author to issue ws response
Diffstat (limited to 'sonar-ws-client/src/main/java/org')
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/issue/Issue.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/Issue.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/Issue.java
index 7e8ca71744e..b5b555087e5 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/Issue.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/Issue.java
@@ -99,6 +99,14 @@ public class Issue {
return JsonUtils.getString(json, "assignee");
}
+ /**
+ * SCM account
+ */
+ @CheckForNull
+ public String author() {
+ return JsonUtils.getString(json, "author");
+ }
+
@CheckForNull
public String actionPlan() {
return JsonUtils.getString(json, "actionPlan");