The two clubs are in a group with Newport County, Plymouth Argyle and Portsmouth.
Cheltenham's opening game in the competition resulted in a 3-1 home defeat by Pompey, for whom Ryan Taylor scored twice, with Conor Chaplin also on target. Cheltenham's reply came from Zack Kotwica.