aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java')
-rw-r--r--sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java b/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java
index 858c061f1cc..0491ce1f029 100644
--- a/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java
+++ b/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java
@@ -525,6 +525,7 @@ public class InternalRubyIssueService implements ServerComponent {
String name = params.get("name");
String description = params.get("description");
String data = params.get("data");
+ String user = params.get("user");
Boolean sharedParam = RubyUtils.toBoolean(params.get("shared"));
boolean shared = sharedParam != null ? sharedParam : false;
@@ -538,6 +539,7 @@ public class InternalRubyIssueService implements ServerComponent {
DefaultIssueFilter defaultIssueFilter = DefaultIssueFilter.create(name)
.setDescription(description)
.setShared(shared)
+ .setUser(user)
.setData(data);
if (isUpdate) {
defaultIssueFilter.setId(Long.valueOf(id));