His first career NHL goal was scored later that season, on 13 February 2008, against Ty Conklin of the Pittsburgh Penguins.
On 26 June 2010, the Boston Bruins traded Sobotka to the St. Louis Blues in exchange for the rights to prospect David Warsofsky.
[4] Sobotka, at the completion of the 2013–14 season, became a restricted free agent, and instead of re-signing with the Blues, opted instead to sign with Avangard Omsk in the KHL on a three-year contract.
[5] When it became clear to the Blues that there was a possibility that Sobotka would be playing in the KHL, the organization filed for salary arbitration with the NHL.
[7] On July 1, 2018, Sobotka, along with Tage Thompson, Patrik Berglund, a first-round pick in the 2019 NHL Entry Draft and a second-round pick in the 2021 NHL Entry Draft, was traded to the Buffalo Sabres in exchange for Ryan O'Reilly.