Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/IssueService.java2
-rw-r--r--org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/issue/IssueTaskDataHandler.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/IssueService.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/IssueService.java
index b0a50a60..3b68f27d 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/IssueService.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/IssueService.java
@@ -572,7 +572,7 @@ public class IssueService extends GitHubService {
params.put(FIELD_TITLE, issue.getTitle());
User assignee = issue.getAssignee();
if (assignee != null)
- params.put(FILTER_ASSIGNEE, assignee.getName());
+ params.put(FILTER_ASSIGNEE, assignee.getLogin());
Milestone milestone = issue.getMilestone();
if (milestone != null) {
diff --git a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/issue/IssueTaskDataHandler.java b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/issue/IssueTaskDataHandler.java
index 5c2f4811..13b4d572 100644
--- a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/issue/IssueTaskDataHandler.java
+++ b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/issue/IssueTaskDataHandler.java
@@ -221,7 +221,7 @@ public class IssueTaskDataHandler extends GitHubTaskDataHandler {
if (assigneeValue != null) {
if (assigneeValue.trim().length() == 0)
assigneeValue = null;
- User assignee = new User().setName(assigneeValue);
+ User assignee = new User().setLogin(assigneeValue);
issue.setAssignee(assignee);
}

Back to the top