]> source.dussan.org Git - sonarqube.git/commitdiff
Add author and action plan to issue change emails
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 4 Jun 2013 14:09:04 +0000 (16:09 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 4 Jun 2013 14:09:04 +0000 (16:09 +0200)
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/IssueChangesEmailTemplate.java

index 31408445e4c673bf4935ba22de11e6eebefa06ce..f41758c93e598a1d0f384156a9e4ddd63fb01a2f 100644 (file)
@@ -82,6 +82,8 @@ public class IssueChangesEmailTemplate extends EmailTemplate {
     appendField(sb, "Resolution", notif.getFieldValue("old.resolution"), notif.getFieldValue("new.resolution"));
     appendField(sb, "Status", notif.getFieldValue("old.status"), notif.getFieldValue("new.status"));
     appendField(sb, "Message", notif.getFieldValue("old.message"), notif.getFieldValue("new.message"));
+    appendField(sb, "Author", notif.getFieldValue("old.author"), notif.getFieldValue("new.author"));
+    appendField(sb, "Action Plan", notif.getFieldValue("old.actionPlanKey"), notif.getFieldValue("new.actionPlanKey"));
   }
 
   private void appendHeader(Notification notif, StringBuilder sb) {