Interface ServiceDeskLicenseService


@PublicApi public interface ServiceDeskLicenseService
  • Method Details

    • getLicense

      ServiceDeskLicense getLicense()
      Gets the ServiceDeskLicense for instance
      Returns:
      ServiceDeskLicense license
    • hasAgentLicense

      @Nonnull boolean hasAgentLicense(@Nonnull com.atlassian.jira.user.ApplicationUser user)
      Checks whether the user has an agent license for instance. True if: - valid license, - license count not overrun
      Parameters:
      user - the user who you want to check
      Returns:
      whether the user is an agent for instance
      Throws:
      ServiceDeskServiceException - on error