In 1965, Sandrich put in his only stint as a producer, serving as associate producer for the first season of the NBC-TV comedy Get Smart, which co-starred Don Adams and Barbara Feldon. He enjoyed the experience but vowed to stick to directing in future. He told Andy Meisler of Channels magazine, "I really didn't like producing. I liked being on the stage. I found that, as a producer, I'd stay up until four in the morning worrying about everything. As a director, I slept at night."
Meisler's article also paints an appealing portrait of the director's relationship with Bill Cosby. who preferred Sandrich, who directed 100 episodes of The Cosby Show from 1985 to 1992, the series' last season, as the director of choice of the series, and with other Cosby production personnel, quoting co-executive producer Tom Werner on the show's dynamics: "Although we're really all here to service Bill Cosby's vision, the show is stronger because Jay challenges Bill and pushes him when appropriate." Sandrich was proud of the program's pioneering portrayal of an upper-class Black family, and of its civilized view of parent-child relations.