Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2012-02-15 23:39:45 +0000
committerKevin Sawicki2012-02-16 16:19:13 +0000
commitd534e2cb7b84771cb5b6c85db5276557973c90f9 (patch)
treec44d3e8dff3be0e0eb030a914f6c3da7bd3073de /org.eclipse.egit.github.core/src
parentb6d362e5183d48d1502ebe4196208225a89447ca (diff)
downloadegit-github-d534e2cb7b84771cb5b6c85db5276557973c90f9.tar.gz
egit-github-d534e2cb7b84771cb5b6c85db5276557973c90f9.tar.xz
egit-github-d534e2cb7b84771cb5b6c85db5276557973c90f9.zip
Use login instead of name field for issue assignee
Login is the proper field to identify the assignee, name is non-unique and not required Change-Id: I648c8eb012b8db3bb887998c6f551269c442fb15
Diffstat (limited to 'org.eclipse.egit.github.core/src')
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/IssueService.java2
1 files changed, 1 insertions, 1 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) {

Back to the top