In August and September 1977, two Voyager spacecraft were launched on a Grand Tour of the solar system. In 1973, the mission had been named Mariner Jupiter-Saturn 1977 (MJS ‘77) and was intended to go only as far as Jupiter and Saturn.
In March 1977 the mission name was changed to Voyager. In October 1978, a Voyager Fact Sheet mentioned the possibility of sending Voyager 2 to Uranus and Neptune. It would happen only if the primary science objectives were met at Saturn first. Even though the extended mission was not certain before launch, Voyager engineers (unofficially) designed and built the spacecraft to be capable of navigating to Uranus and Neptune, and surviving the longer trip. On-board computers were reprogrammed during the voyage, giving the spacecraft the ability to successfully return many more images and much more information than were expected. It’s unlikely the Voyager team imagined that both spacecraft would still be operating 40 years after launch.
For more information about the history of JPL, contact the JPL Archives for assistance. [Archival and other sources: Various Voyager and JPL History web pages; Voyager Fact Sheet, 10/6/1978; Section 260 photo album and index.