/// <summary> /// Assigns an issue to the automatic assignee or removes the assignee entirely. /// </summary> /// <param name="issue">The issue to make the assignment for.</param> /// <param name="assignee">The special assignee type.</param> public void AssignTo(Issue issue, SpecialAssignee assignee) { var user = assignee == SpecialAssignee.Automatic ? "-1" : null; AssignTo(issue, user); }