Managing service tickets and service contracts