Updated

The trade that put Jeff Samardzija on a postseason contender cost him a chance to pitch in his first All-Star game.

A day after Samardzija was dealt from the Chicago Cubs to Oakland, he was picked Sunday for the game at Target Field in Minnesota on July 15.

Samardzija was selected as an NL All-Star, but Major League Baseball said he is ineligible to play because of the league switch.

Yankees shortstop Derek Jeter, playing his 20th and final season, was selected for his 14th All-Star team and will start for the ninth time.

Samardzija made his American League debut Sunday and won, pitching the A's past Toronto 4-2.