aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src
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-server/src
parent8eb8931a7b241260ae730c2582446abddd397f4c (diff)
downloadsonarqube-473b592946fa31843073bcc9e469bc43675cd2ab.tar.gz
sonarqube-473b592946fa31843073bcc9e469bc43675cd2ab.zip
SONAR-3755 add author to issue ws response
Diffstat (limited to 'sonar-server/src')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb
index 15238c29c66..49436c1582e 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb
@@ -34,6 +34,7 @@ class Issue
hash[:effortToFix] = issue.effortToFix.to_f if issue.effortToFix
hash[:reporter] = issue.reporter if issue.reporter
hash[:assignee] = issue.assignee if issue.assignee
+ hash[:author] = issue.authorLogin if issue.authorLogin
hash[:actionPlan] = issue.actionPlanKey if issue.actionPlanKey
hash[:creationDate] = Api::Utils.format_datetime(issue.creationDate) if issue.creationDate
hash[:updateDate] = Api::Utils.format_datetime(issue.updateDate) if issue.updateDate