private boolean projectHasDefaultAssigneeUnassigned( final BackupProject backupProject, final BackupSystemInformation backupSystemInformation) { Long assigneeType; try { assigneeType = new Long(backupProject.getProject().getAssigneeType()); } catch (final NumberFormatException e) { // Act as null - best guess assigneeType = null; } if (assigneeType == null) { // Then it was dependant on the value of the "Allow unassigned issues" setting. return backupSystemInformation.unassignedIssuesAllowed(); } return assigneeType.longValue() == AssigneeTypes.UNASSIGNED; }