The court shall grant a requested decree of divorce, separate maintenance or annulment unless the granting of the decree is discretionary under this act or unless the court finds that there are no grounds for the requested alteration of marital status. If a decree of divorce, separate maintenance or annulment is denied for lack of grounds, the court shall nevertheless, if application is made by one of the parties, make the orders authorized by articles 28, 29, 30 and 32 of chapter 23 of the Kansas Statutes Annotated, and amendments thereto.
K.S.A. 23-2706