Pietila, of Finnish descent through his grandfather,[3] played collegiate hockey with Michigan Tech of the Western Collegiate Hockey Association. After his four-year college career was completed after his senior season in 2014–15, Pietila, who was the captain, was signed to a two-year entry-level contract with the New Jersey Devils on May 27, 2015.[4]
In his debut professional season in 2015–16, Pietila was initially reassigned to AHL affiliate, the Albany Devils. He later made his NHL debut for the Devils on March 24, 2016, against the Pittsburgh Penguins. He recorded his first NHL goal on March 31, 2016, against the Florida Panthers with only 5.1 seconds remaining in a 3-2 loss.[5]
On July 26, 2017, the Devils re-signed Pietila to a two-year, two-way contract worth $1.335 million and $667,000 annually.[6]
On July 2, 2019, Pietila left the Devils organization after four seasons as a free agent to sign a one-year, two-way contract with the Anaheim Ducks for the 2019–20 season.[7] He played the duration of his contract with the Ducks assigned to AHL affiliate, the San Diego Gulls, recording 12 goals and 24 points through 49 regular season games before the season was cancelled due to the COVID-19 pandemic.
As a free agent from the Ducks leading into the pandemic delayed 2020–21 season, Pietila belatedly signed a professional tryout contract with the Hershey Bears of the AHL, affiliate to the Washington Capitals, on February 8, 2021.[8]