I tried this and it worked.
Article from -
http://www.animalsoup.net/aquaria/goldfish...h/breeding.htmlBreeding In The Home Aquarium
Goldfish are extremely prolific and will spawn readily when kept outdoors in spacious ponds. However breeding in the home aquarium may take a bit of work. Goldfish kept outdoors breed according to the seasons, spawning in spring and early summer. Most fish kept in home aquariums never experience these seasonal changes and therefore some coaxing may be needed.
Breeding Goldfish indoors can be done in as little as 20 gallons of water, depending on the size of the parent fish. Rearing the fry however may require massive amounts of tank space, depending on the amount of fry in any given batch. Since a single female can lay up to 10,000 eggs at one time if adequate tank space is not available to accomadate the fry breeding should not be attempted. Once you are prepared, there are some steps you can take to increase the chances of spawning in the home aquarium.
To begin, the temperature of the breeding tank should gradually be lowered to simulate the fall and winter months, being sure the change is made slowly over a period of at least several days to avoid shocking the fish. Breeder fish should be kept at a temperature of 50 degrees for about 7 weeks. Afterwhich the temperature should gradually be raised to 60 degrees to simulate the coming of spring and to bring on the pre-spawning period. Finally, the temperature is gradually raised to 74 degrees in preperation for spawning. Heavy feeding with high protein foods should commence and thick clumps of bushy plants such as Myriophyllum, Hair Grass, Anacharis or other fine floating plants or some type of artificial spawning media, such as a spawning mop, should be added to the aquarium to recieve the eggs. If all has gone well the fish should be ready to spawn.
After spawning has occured and eggs have been layed and fertilized the parent fish should be removed from the aquarium immediately as they will both quickly devour the eggs. Infertile eggs, which may become fungus covered, should be removed to prevent any fertile eggs in surrounding areas from becoming fungused as well.