The former couple was scheduled to hash out their custody issues in court on Thursday.