Class AssigneeTypeService

java.lang.Object
com.atlassian.greenhopper.service.project.AssigneeTypeService

@Component public class AssigneeTypeService extends Object
  • Constructor Details

    • AssigneeTypeService

      public AssigneeTypeService()
  • Method Details

    • isValidType

      public boolean isValidType(@Nullable Long assigneeType)
      Determines if the given assignee type is valid in the running instance. If the 'unassigned issues' system-wide feature is disabled, then an assignee of 'Unassigned' is considered invalid. Also passing a 'null' assignee will be considered invalid.

      The Long value for each AssigneeType is obtained from AssigneeTypes

      Parameters:
      assigneeType - the AssigneeTypes id to check
      Returns:
      if the AssigneeType is valid and not null